spmviz.viz.plot_patterns#
- spmviz.viz.plot_patterns(ps, top=20, by='support', measures=('rel_support', 'confidence'), figsize=None, title=None)[source]#
Glyph table of the best patterns: events as colored tiles, measures as bars.
Itemsets are drawn as stacked tiles. Returns the figure.
Examples using spmviz.viz.plot_patterns#
First steps: four sequences of the PrefixSpan paper
First steps: four sequences of the PrefixSpan paper