spmviz.viz.plot_growth_sankey#

spmviz.viz.plot_growth_sankey(ps, ax=None, start_items=None, max_length=4, top=6, title=None)[source]#

How support splits when frequent sequences grow (support flows of the extension network).

Column k holds the patterns of length k (the top most supported children of each kept pattern); a ribbon carries the support of a child from its parent. The rest of a parent’s support (sequences in which it is not extended by a kept child) flows to stop.

Examples using spmviz.viz.plot_growth_sankey#

How support splits when sequences grow

How support splits when sequences grow