spmviz.viz.plot_rules_matrix#

spmviz.viz.plot_rules_matrix(ps_or_rules, ax=None, min_confidence=0.0, top_antecedents=15, top_consequents=12, color='lift', title=None)[source]#

Grouped matrix of sequential rules: antecedents in columns, consequents in rows.

Balloon area is the support and color the lift (or the confidence) of the rule; antecedents and consequents are sorted by their total support.

Examples using spmviz.viz.plot_rules_matrix#

Sequential rules as a grouped matrix

Sequential rules as a grouped matrix