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.
This exercise is part of the course
Market Basket Analysis in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Plot movie rules as a graph
plot(rules_movies,
method = "___",
___ = "___")