spmviz.viz.plot_sankey#
- spmviz.viz.plot_sankey(db, ax=None, max_steps=5, top=8, min_count=1, anchor=None, show_end=True, title=None)[source]#
Alluvial diagram of the first steps of the sequences.
Column
tstacks the events found at positiont; ribbons carry the sequences to the next position. Events outside thetopmost frequent of a column are merged into"other";"$"marks sequences that ended. Withanchorthe sequences are aligned at the end of the first occurrence of a pattern (the steps that follow it).
Examples using spmviz.viz.plot_sankey#
Case study: the UWV unemployment-benefit application
Case study: the UWV unemployment-benefit application