The book#

Cover of Mining and Visualizing Frequent Sequences in Python

Mining and Visualizing Frequent Sequences in Python: The spmviz toolbox is the companion book of the package. It develops the methods in one notation, states every algorithm in a box, and illustrates each method with the scripts of the example gallery, so the book, the documentation and the code show the same results. The book is published under the CC BY 4.0 license: read it online, or download the PDF or the EPUB edition.

Contents#

  1. Introduction: why frequent sequences need visualization, the workflow, a first session

  2. Sequences, patterns and their mining: containment and constraints, the extension tree, condensed representations, PrefixSpan, SPAM, CM-SPAM, SPADE, GSP

  3. A map of the visualizations of frequent sequences: five families, questions and views, the catalogue

  4. Network-based visualization of frequent sequences: WN, CM and TM, fused similarities, communities and sub-logs, reproduction of the paper

  5. Trees of prefixes and patterns: sunbursts, icicles, LifeFlow, word trees, continuation-entropy and contrast trees

  6. Flows and transitions: Sankey diagrams, directly-follows graphs, MatrixWave, chord diagrams, growth Sankey, higher-order networks

  7. Matrices, maps and sets: incidence and similarity matrices, sequential rules, measure scatter plots, landscapes, lattices, UpSet

  8. Sequence views and summaries: index plots, chronograms, dotted charts, sequence logos, arc diagrams, episodes, MDL summaries

  9. Interoperability: data in, other miners, results out, interactive figures

  10. Benchmarks and case studies: SPMF benchmarks, an online benefit application, early warning in alarm management

Appendices: API reference, migration from the NbVFS scripts, catalogue of the example scripts.