Example gallery#
Every example loads or generates its own data, explains the method and what the picture shows, and ends with a short study of the main parameter. The first section uses tiny, familiar data (textbook databases, daily routines, chess openings, melodies); later sections turn to the clickstream and the industrial alarm log of Bántay & Abonyi (2024) and to the benchmark databases of the sequential pattern mining literature. The same scripts produce the figures of the book.
First steps: data, mining, constraints, files#
First steps: four sequences of the PrefixSpan paper
Import and export: pandas, SPMF, networkx, Gephi, Cytoscape
Network-based visualisation of frequent sequences (NBVFS)#
Beyond the paper: fused similarities and pattern communities
Trees: prefix trees, sunbursts, icicles, word trees#
Where does the process branch? The continuation-entropy tree
Flows: Sankey diagrams, transition graphs, higher-order networks#
Pattern-induced higher-order networks: when history matters
Maps and matrices of pattern sets#
Sequences: index plots, logos, arcs, episodes, summaries#
Applications and benchmarks#
Case study: the UWV unemployment-benefit application