Group matrix based visualizations
Having a set of rules that is too large can be cumbersome to deal with. Let's create balloon looking plots with your set of rules. Group matrix based visualizations group antecedents using clustering methods. This allows you to have a better visibility on your set of rules.
Let's have a look at this more fancy type pf plot from the arulesViz package. The subset_rules is a subset of rules_online and is saved in your workspace. You will rather work with subset_rules for sake of clarity.
Cet exercice fait partie du cours
Market Basket Analysis in R
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Plot a group matrix-based visualization
plot(subset_rules, ___ = "___")