:orphan: 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. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. thumbnail-parent-div-close .. raw:: html
First steps: data, mining, constraints, files --------------------------------------------- .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/01_basics/images/thumb/sphx_glr_plot_01_first_steps_thumb.png :alt: :doc:`/auto_examples/01_basics/plot_01_first_steps` .. raw:: html
First steps: four sequences of the PrefixSpan paper
.. raw:: html
.. only:: html .. image:: /auto_examples/01_basics/images/thumb/sphx_glr_plot_02_daily_routines_thumb.png :alt: :doc:`/auto_examples/01_basics/plot_02_daily_routines` .. raw:: html
An everyday example: daily routines
.. raw:: html
.. only:: html .. image:: /auto_examples/01_basics/images/thumb/sphx_glr_plot_03_algorithms_thumb.png :alt: :doc:`/auto_examples/01_basics/plot_03_algorithms` .. raw:: html
Five algorithms, one answer
.. raw:: html
.. only:: html .. image:: /auto_examples/01_basics/images/thumb/sphx_glr_plot_04_constraints_thumb.png :alt: :doc:`/auto_examples/01_basics/plot_04_constraints` .. raw:: html
Gaps, spans and time windows
.. raw:: html
.. only:: html .. image:: /auto_examples/01_basics/images/thumb/sphx_glr_plot_05_import_export_thumb.png :alt: :doc:`/auto_examples/01_basics/plot_05_import_export` .. raw:: html
Import and export: pandas, SPMF, networkx, Gephi, Cytoscape
.. thumbnail-parent-div-close .. raw:: html
Network-based visualisation of frequent sequences (NBVFS) ---------------------------------------------------------- .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/02_nbvfs/images/thumb/sphx_glr_plot_01_weighted_network_thumb.png :alt: :doc:`/auto_examples/02_nbvfs/plot_01_weighted_network` .. raw:: html
NBVFS-WN: the weighted extension network
.. raw:: html
.. only:: html .. image:: /auto_examples/02_nbvfs/images/thumb/sphx_glr_plot_02_confidence_mds_thumb.png :alt: :doc:`/auto_examples/02_nbvfs/plot_02_confidence_mds` .. raw:: html
NBVFS-CM: confidence-based MDS map
.. raw:: html
.. only:: html .. image:: /auto_examples/02_nbvfs/images/thumb/sphx_glr_plot_03_transaction_mds_thumb.png :alt: :doc:`/auto_examples/02_nbvfs/plot_03_transaction_mds` .. raw:: html
NBVFS-TM: transaction-based MDS map
.. raw:: html
.. only:: html .. image:: /auto_examples/02_nbvfs/images/thumb/sphx_glr_plot_04_alarm_log_thumb.png :alt: :doc:`/auto_examples/02_nbvfs/plot_04_alarm_log` .. raw:: html
The industrial alarm log of the paper
.. raw:: html
.. only:: html .. image:: /auto_examples/02_nbvfs/images/thumb/sphx_glr_plot_05_fused_similarity_thumb.png :alt: :doc:`/auto_examples/02_nbvfs/plot_05_fused_similarity` .. raw:: html
Beyond the paper: fused similarities and pattern communities
.. thumbnail-parent-div-close .. raw:: html
Trees: prefix trees, sunbursts, icicles, word trees --------------------------------------------------- .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/03_trees/images/thumb/sphx_glr_plot_01_chess_sunburst_thumb.png :alt: :doc:`/auto_examples/03_trees/plot_01_chess_sunburst` .. raw:: html
A spectacular sunburst: chess openings
.. raw:: html
.. only:: html .. image:: /auto_examples/03_trees/images/thumb/sphx_glr_plot_02_entropy_tree_thumb.png :alt: :doc:`/auto_examples/03_trees/plot_02_entropy_tree` .. raw:: html
Where does the process branch? The continuation-entropy tree
.. raw:: html
.. only:: html .. image:: /auto_examples/03_trees/images/thumb/sphx_glr_plot_03_word_tree_thumb.png :alt: :doc:`/auto_examples/03_trees/plot_03_word_tree` .. raw:: html
Word trees around a pivot
.. raw:: html
.. only:: html .. image:: /auto_examples/03_trees/images/thumb/sphx_glr_plot_04_contrast_tree_thumb.png :alt: :doc:`/auto_examples/03_trees/plot_04_contrast_tree` .. raw:: html
Comparing two groups: contrast sunburst
.. raw:: html
.. only:: html .. image:: /auto_examples/03_trees/images/thumb/sphx_glr_plot_05_lifeflow_icicle_thumb.png :alt: :doc:`/auto_examples/03_trees/plot_05_lifeflow_icicle` .. raw:: html
Time-aware icicles (LifeFlow)
.. thumbnail-parent-div-close .. raw:: html
Flows: Sankey diagrams, transition graphs, higher-order networks ---------------------------------------------------------------- .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/04_flows/images/thumb/sphx_glr_plot_01_sankey_thumb.png :alt: :doc:`/auto_examples/04_flows/plot_01_sankey` .. raw:: html
Sankey diagram of web-shop journeys
.. raw:: html
.. only:: html .. image:: /auto_examples/04_flows/images/thumb/sphx_glr_plot_02_transition_graph_thumb.png :alt: :doc:`/auto_examples/04_flows/plot_02_transition_graph` .. raw:: html
Transition graphs, matrices and MatrixWave
.. raw:: html
.. only:: html .. image:: /auto_examples/04_flows/images/thumb/sphx_glr_plot_03_chord_thumb.png :alt: :doc:`/auto_examples/04_flows/plot_03_chord` .. raw:: html
Chord diagram of everyday transitions
.. raw:: html
.. only:: html .. image:: /auto_examples/04_flows/images/thumb/sphx_glr_plot_04_growth_sankey_thumb.png :alt: :doc:`/auto_examples/04_flows/plot_04_growth_sankey` .. raw:: html
How support splits when sequences grow
.. raw:: html
.. only:: html .. image:: /auto_examples/04_flows/images/thumb/sphx_glr_plot_05_higher_order_network_thumb.png :alt: :doc:`/auto_examples/04_flows/plot_05_higher_order_network` .. raw:: html
Pattern-induced higher-order networks: when history matters
.. thumbnail-parent-div-close .. raw:: html
Maps and matrices of pattern sets --------------------------------- .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/05_maps/images/thumb/sphx_glr_plot_01_incidence_similarity_thumb.png :alt: :doc:`/auto_examples/05_maps/plot_01_incidence_similarity` .. raw:: html
Matrices of a pattern set
.. raw:: html
.. only:: html .. image:: /auto_examples/05_maps/images/thumb/sphx_glr_plot_02_rules_matrix_thumb.png :alt: :doc:`/auto_examples/05_maps/plot_02_rules_matrix` .. raw:: html
Sequential rules as a grouped matrix
.. raw:: html
.. only:: html .. image:: /auto_examples/05_maps/images/thumb/sphx_glr_plot_03_measure_scatter_thumb.png :alt: :doc:`/auto_examples/05_maps/plot_03_measure_scatter` .. raw:: html
Patterns in the plane of two measures
.. raw:: html
.. only:: html .. image:: /auto_examples/05_maps/images/thumb/sphx_glr_plot_04_landscape_thumb.png :alt: :doc:`/auto_examples/05_maps/plot_04_landscape` .. raw:: html
Pattern landscapes
.. raw:: html
.. only:: html .. image:: /auto_examples/05_maps/images/thumb/sphx_glr_plot_05_lattice_upset_thumb.png :alt: :doc:`/auto_examples/05_maps/plot_05_lattice_upset` .. raw:: html
Lattices and UpSet plots
.. thumbnail-parent-div-close .. raw:: html
Sequences: index plots, logos, arcs, episodes, summaries -------------------------------------------------------- .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/06_sequences/images/thumb/sphx_glr_plot_01_index_plot_thumb.png :alt: :doc:`/auto_examples/06_sequences/plot_01_index_plot` .. raw:: html
Sequence index plots with pattern occurrences
.. raw:: html
.. only:: html .. image:: /auto_examples/06_sequences/images/thumb/sphx_glr_plot_02_chronogram_frequency_thumb.png :alt: :doc:`/auto_examples/06_sequences/plot_02_chronogram_frequency` .. raw:: html
Chronograms and sequence frequency plots
.. raw:: html
.. only:: html .. image:: /auto_examples/06_sequences/images/thumb/sphx_glr_plot_03_dotted_chart_thumb.png :alt: :doc:`/auto_examples/06_sequences/plot_03_dotted_chart` .. raw:: html
Dotted chart of alarm floods
.. raw:: html
.. only:: html .. image:: /auto_examples/06_sequences/images/thumb/sphx_glr_plot_04_sequence_logo_thumb.png :alt: :doc:`/auto_examples/06_sequences/plot_04_sequence_logo` .. raw:: html
Sequence logos
.. raw:: html
.. only:: html .. image:: /auto_examples/06_sequences/images/thumb/sphx_glr_plot_05_arc_diagram_thumb.png :alt: :doc:`/auto_examples/06_sequences/plot_05_arc_diagram` .. raw:: html
Arc diagram of a melody
.. raw:: html
.. only:: html .. image:: /auto_examples/06_sequences/images/thumb/sphx_glr_plot_06_episodes_thumb.png :alt: :doc:`/auto_examples/06_sequences/plot_06_episodes` .. raw:: html
Episodes in one long alarm stream
.. raw:: html
.. only:: html .. image:: /auto_examples/06_sequences/images/thumb/sphx_glr_plot_07_mdl_summary_thumb.png :alt: :doc:`/auto_examples/06_sequences/plot_07_mdl_summary` .. raw:: html
A summary in a few patterns: MDL
.. thumbnail-parent-div-close .. raw:: html
Applications and benchmarks --------------------------- .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/07_applications/images/thumb/sphx_glr_plot_01_benchmarks_thumb.png :alt: :doc:`/auto_examples/07_applications/plot_01_benchmarks` .. raw:: html
Benchmark databases of sequential pattern mining
.. raw:: html
.. only:: html .. image:: /auto_examples/07_applications/images/thumb/sphx_glr_plot_02_clickstream_story_thumb.png :alt: :doc:`/auto_examples/07_applications/plot_02_clickstream_story` .. raw:: html
Case study: the UWV unemployment-benefit application
.. raw:: html
.. only:: html .. image:: /auto_examples/07_applications/images/thumb/sphx_glr_plot_03_alarm_early_warning_thumb.png :alt: :doc:`/auto_examples/07_applications/plot_03_alarm_early_warning` .. raw:: html
Case study: early warning in alarm management
.. raw:: html
.. only:: html .. image:: /auto_examples/07_applications/images/thumb/sphx_glr_plot_04_interactive_thumb.png :alt: :doc:`/auto_examples/07_applications/plot_04_interactive` .. raw:: html
Interactive figures
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: :includehidden: /auto_examples/01_basics/index.rst /auto_examples/02_nbvfs/index.rst /auto_examples/03_trees/index.rst /auto_examples/04_flows/index.rst /auto_examples/05_maps/index.rst /auto_examples/06_sequences/index.rst /auto_examples/07_applications/index.rst .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-gallery .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: auto_examples_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: auto_examples_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_