IniziaInizia gratis

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.

Questo esercizio fa parte del corso

Market Basket Analysis in R

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Plot a group matrix-based visualization
plot(subset_rules, ___ = "___")
Modifica ed esegui il codice