Skip to main content
Ctrl+K

spmviz

  • Installation
  • Example gallery
  • API reference
  • The book
  • Interoperability
    • From the NbVFS scripts
    • Citing
    • Changelog
    • All textbooks
  • GitHub
  • Installation
  • Example gallery
  • API reference
  • The book
  • Interoperability
  • From the NbVFS scripts
  • Citing
  • Changelog
  • All textbooks
  • GitHub

Section Navigation

  • First steps: data, mining, constraints, files
    • First steps: four sequences of the PrefixSpan paper
    • An everyday example: daily routines
    • Five algorithms, one answer
    • Gaps, spans and time windows
    • Import and export: pandas, SPMF, networkx, Gephi, Cytoscape
  • Network-based visualisation of frequent sequences (NBVFS)
    • NBVFS-WN: the weighted extension network
    • NBVFS-CM: confidence-based MDS map
    • NBVFS-TM: transaction-based MDS map
    • The industrial alarm log of the paper
    • Beyond the paper: fused similarities and pattern communities
  • Trees: prefix trees, sunbursts, icicles, word trees
    • A spectacular sunburst: chess openings
    • Where does the process branch? The continuation-entropy tree
    • Word trees around a pivot
    • Comparing two groups: contrast sunburst
    • Time-aware icicles (LifeFlow)
  • Flows: Sankey diagrams, transition graphs, higher-order networks
    • Sankey diagram of web-shop journeys
    • Transition graphs, matrices and MatrixWave
    • Chord diagram of everyday transitions
    • How support splits when sequences grow
    • Pattern-induced higher-order networks: when history matters
  • Maps and matrices of pattern sets
    • Matrices of a pattern set
    • Sequential rules as a grouped matrix
    • Patterns in the plane of two measures
    • Pattern landscapes
    • Lattices and UpSet plots
  • Sequences: index plots, logos, arcs, episodes, summaries
    • Sequence index plots with pattern occurrences
    • Chronograms and sequence frequency plots
    • Dotted chart of alarm floods
    • Sequence logos
    • Arc diagram of a melody
    • Episodes in one long alarm stream
    • A summary in a few patterns: MDL
  • Applications and benchmarks
    • Benchmark databases of sequential pattern mining
    • Case study: the UWV unemployment-benefit application
    • Case study: early warning in alarm management
    • Interactive figures
  • Example gallery

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

First steps: four sequences of the PrefixSpan paper

An everyday example: daily routines

An everyday example: daily routines

Five algorithms, one answer

Five algorithms, one answer

Gaps, spans and time windows

Gaps, spans and time windows

Import and export: pandas, SPMF, networkx, Gephi, Cytoscape

Import and export: pandas, SPMF, networkx, Gephi, Cytoscape

Network-based visualisation of frequent sequences (NBVFS)#

NBVFS-WN: the weighted extension network

NBVFS-WN: the weighted extension network

NBVFS-CM: confidence-based MDS map

NBVFS-CM: confidence-based MDS map

NBVFS-TM: transaction-based MDS map

NBVFS-TM: transaction-based MDS map

The industrial alarm log of the paper

The industrial alarm log of the paper

Beyond the paper: fused similarities and pattern communities

Beyond the paper: fused similarities and pattern communities

Trees: prefix trees, sunbursts, icicles, word trees#

A spectacular sunburst: chess openings

A spectacular sunburst: chess openings

Where does the process branch? The continuation-entropy tree

Where does the process branch? The continuation-entropy tree

Word trees around a pivot

Word trees around a pivot

Comparing two groups: contrast sunburst

Comparing two groups: contrast sunburst

Time-aware icicles (LifeFlow)

Time-aware icicles (LifeFlow)

Flows: Sankey diagrams, transition graphs, higher-order networks#

Sankey diagram of web-shop journeys

Sankey diagram of web-shop journeys

Transition graphs, matrices and MatrixWave

Transition graphs, matrices and MatrixWave

Chord diagram of everyday transitions

Chord diagram of everyday transitions

How support splits when sequences grow

How support splits when sequences grow

Pattern-induced higher-order networks: when history matters

Pattern-induced higher-order networks: when history matters

Maps and matrices of pattern sets#

Matrices of a pattern set

Matrices of a pattern set

Sequential rules as a grouped matrix

Sequential rules as a grouped matrix

Patterns in the plane of two measures

Patterns in the plane of two measures

Pattern landscapes

Pattern landscapes

Lattices and UpSet plots

Lattices and UpSet plots

Sequences: index plots, logos, arcs, episodes, summaries#

Sequence index plots with pattern occurrences

Sequence index plots with pattern occurrences

Chronograms and sequence frequency plots

Chronograms and sequence frequency plots

Dotted chart of alarm floods

Dotted chart of alarm floods

Sequence logos

Sequence logos

Arc diagram of a melody

Arc diagram of a melody

Episodes in one long alarm stream

Episodes in one long alarm stream

A summary in a few patterns: MDL

A summary in a few patterns: MDL

Applications and benchmarks#

Benchmark databases of sequential pattern mining

Benchmark databases of sequential pattern mining

Case study: the UWV unemployment-benefit application

Case study: the UWV unemployment-benefit application

Case study: early warning in alarm management

Case study: early warning in alarm management

Interactive figures

Interactive figures

Download all examples in Python source code: auto_examples_python.zip

Download all examples in Jupyter notebooks: auto_examples_jupyter.zip

Gallery generated by Sphinx-Gallery

previous

Installation

next

First steps: data, mining, constraints, files

On this page
  • First steps: data, mining, constraints, files
  • Network-based visualisation of frequent sequences (NBVFS)
  • Trees: prefix trees, sunbursts, icicles, word trees
  • Flows: Sankey diagrams, transition graphs, higher-order networks
  • Maps and matrices of pattern sets
  • Sequences: index plots, logos, arcs, episodes, summaries
  • Applications and benchmarks
Show Source

© Copyright 2026, János Abonyi, László Bántay.

Created using Sphinx 9.1.1.