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.
Questo esercizio fa parte del corso
Market Basket Analysis in R
Esercizio pratico interattivo
Prova a risolvere questo esercizio completando il codice di esempio.
# Plot movie rules as a graph
plot(rules_movies,
method = "___",
___ = "___")