CommencerCommencer gratuitement

Our favorite movies as a graph

The previous plots are useful to display rules but may seem too "linear" to represent the set of movies users have watched. Displaying extracted rules as a graph is useful to sort out the important and useful rules among the set of potentially thousands of rules. The set of extracted rules rules_movies is loaded in your workspace.

Cet exercice fait partie du cours

Market Basket Analysis in R

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Plot movie rules as a graph
plot(rules_movies,
     method = "___",
     ___ = "___")
Modifier et exécuter le code