spmviz.viz.plot_transition_graph#

spmviz.viz.plot_transition_graph(db, ax=None, min_count=1, min_probability=0.0, top_edges=60, layout='layered', start_end=True, labels='count', title=None, seed=0)[source]#

Directly-follows graph: node size = occurrences, edge width = transitions, color = probability.

Parameters:
min_count, min_probabilityfilters of the edges
top_edgesint, optional

Keep the strongest edges only (the frequency slider of process-mining tools).

layout{“layered”, “spring”, “circular”, “kamada_kawai”}
labels{“count”, “probability”, None}

Edge labels.

Examples using spmviz.viz.plot_transition_graph#

Beyond the paper: fused similarities and pattern communities

Beyond the paper: fused similarities and pattern communities

Transition graphs, matrices and MatrixWave

Transition graphs, matrices and MatrixWave

Case study: the UWV unemployment-benefit application

Case study: the UWV unemployment-benefit application