:orphan:
Example gallery
===============
Every script runs on its own (``python plot_xx.py``), uses ``random_state=0``
where randomness is involved, prints the numbers quoted in the book and draws
the figures of the book.
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. thumbnail-parent-div-close
.. raw:: html
Representations and interchange
-------------------------------
Incidence matrices, expansions, line graphs, Laplacians and the interchange with other packages (book chapter 2).
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/01_representations/images/thumb/sphx_glr_plot_01_quickstart_thumb.png
:alt:
:doc:`/auto_examples/01_representations/plot_01_quickstart`
.. raw:: html
A first hypergraph: incidence matrix, dual and degrees
.. raw:: html
.. only:: html
.. image:: /auto_examples/01_representations/images/thumb/sphx_glr_plot_02_projection_loss_thumb.png
:alt:
:doc:`/auto_examples/01_representations/plot_02_projection_loss`
.. raw:: html
What the clique expansion forgets
.. raw:: html
.. only:: html
.. image:: /auto_examples/01_representations/images/thumb/sphx_glr_plot_03_expansions_and_spectra_thumb.png
:alt:
:doc:`/auto_examples/01_representations/plot_03_expansions_and_spectra`
.. raw:: html
Expansions, line graphs and Laplacian spectra
.. raw:: html
.. only:: html
.. image:: /auto_examples/01_representations/images/thumb/sphx_glr_plot_04_interchange_thumb.png
:alt:
:doc:`/auto_examples/01_representations/plot_04_interchange`
.. raw:: html
Interchange: HIF, HyperGodot files and other Python libraries
.. thumbnail-parent-div-close
.. raw:: html
Matrix views
------------
Seriated incidence matrices, biclusters, PAOH and UpSet views (chapter 3).
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/02_matrix_views/images/thumb/sphx_glr_plot_05_seriation_thumb.png
:alt:
:doc:`/auto_examples/02_matrix_views/plot_05_seriation`
.. raw:: html
Seriation of the incidence matrix
.. raw:: html
.. only:: html
.. image:: /auto_examples/02_matrix_views/images/thumb/sphx_glr_plot_06_biclusters_thumb.png
:alt:
:doc:`/auto_examples/02_matrix_views/plot_06_biclusters`
.. raw:: html
Biclusters of the manufacturing space
.. raw:: html
.. only:: html
.. image:: /auto_examples/02_matrix_views/images/thumb/sphx_glr_plot_07_paoh_thumb.png
:alt:
:doc:`/auto_examples/02_matrix_views/plot_07_paoh`
.. raw:: html
PAOH: a dynamic hypergraph without clutter
.. raw:: html
.. only:: html
.. image:: /auto_examples/02_matrix_views/images/thumb/sphx_glr_plot_08_upset_thumb.png
:alt:
:doc:`/auto_examples/02_matrix_views/plot_08_upset`
.. raw:: html
UpSet view of frequent theme combinations
.. thumbnail-parent-div-close
.. raw:: html
Node-link and set views
-----------------------
Layouts, hyperedge styles, groups, primal-dual views and the interactive viewer (chapter 4).
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/03_node_link/images/thumb/sphx_glr_plot_09_layouts_thumb.png
:alt:
:doc:`/auto_examples/03_node_link/plot_09_layouts`
.. raw:: html
Six layouts of the same hypergraph
.. raw:: html
.. only:: html
.. image:: /auto_examples/03_node_link/images/thumb/sphx_glr_plot_10_hyperedge_styles_thumb.png
:alt:
:doc:`/auto_examples/03_node_link/plot_10_hyperedge_styles`
.. raw:: html
Seven ways to draw a hyperedge
.. raw:: html
.. only:: html
.. image:: /auto_examples/03_node_link/images/thumb/sphx_glr_plot_11_groups_thumb.png
:alt:
:doc:`/auto_examples/03_node_link/plot_11_groups`
.. raw:: html
Comparing groups: human and machine work
.. raw:: html
.. only:: html
.. image:: /auto_examples/03_node_link/images/thumb/sphx_glr_plot_12_primal_dual_thumb.png
:alt:
:doc:`/auto_examples/03_node_link/plot_12_primal_dual`
.. raw:: html
Linked primal and dual views
.. raw:: html
.. only:: html
.. image:: /auto_examples/03_node_link/images/thumb/sphx_glr_plot_13_circular_and_interactive_thumb.png
:alt:
:doc:`/auto_examples/03_node_link/plot_13_circular_and_interactive`
.. raw:: html
Circular drawing and the interactive HTML viewer
.. thumbnail-parent-div-close
.. raw:: html
Similarity-based visualization
------------------------------
The HAT-VIS pipeline, the electric-car case study and the membership-aware layout (chapter 5).
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/04_similarity/images/thumb/sphx_glr_plot_14_hatvis_pipeline_thumb.png
:alt:
:doc:`/auto_examples/04_similarity/plot_14_hatvis_pipeline`
.. raw:: html
The HAT-VIS pipeline step by step
.. raw:: html
.. only:: html
.. image:: /auto_examples/04_similarity/images/thumb/sphx_glr_plot_15_electric_car_thumb.png
:alt:
:doc:`/auto_examples/04_similarity/plot_15_electric_car`
.. raw:: html
HAT-VIS case study: developing an autonomous electric car
.. raw:: html
.. only:: html
.. image:: /auto_examples/04_similarity/images/thumb/sphx_glr_plot_16_membership_layout_thumb.png
:alt:
:doc:`/auto_examples/04_similarity/plot_16_membership_layout`
.. raw:: html
Membership-aware layout: similarity with fewer intrusions
.. thumbnail-parent-div-close
.. raw:: html
Walks, connectivity and centrality
----------------------------------
s-walks, s-centralities, eigenvector centralities and hyper-cores (chapter 6).
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/05_structure/images/thumb/sphx_glr_plot_17_s_walks_thumb.png
:alt:
:doc:`/auto_examples/05_structure/plot_17_s_walks`
.. raw:: html
s-walks: how strongly are hyperedges connected?
.. raw:: html
.. only:: html
.. image:: /auto_examples/05_structure/images/thumb/sphx_glr_plot_18_wire_harness_centrality_thumb.png
:alt:
:doc:`/auto_examples/05_structure/plot_18_wire_harness_centrality`
.. raw:: html
Critical elements of the manufacturing space
.. raw:: html
.. only:: html
.. image:: /auto_examples/05_structure/images/thumb/sphx_glr_plot_19_centrality_family_thumb.png
:alt:
:doc:`/auto_examples/05_structure/plot_19_centrality_family`
.. raw:: html
A family of hypergraph centralities
.. raw:: html
.. only:: html
.. image:: /auto_examples/05_structure/images/thumb/sphx_glr_plot_20_hypercores_thumb.png
:alt:
:doc:`/auto_examples/05_structure/plot_20_hypercores`
.. raw:: html
Hyper-cores
.. thumbnail-parent-div-close
.. raw:: html
Clustering and partitioning
---------------------------
Hypergraph modularity, Louvain, spectral methods, co-clustering and bisection (chapter 7).
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/06_clustering/images/thumb/sphx_glr_plot_21_planted_communities_thumb.png
:alt:
:doc:`/auto_examples/06_clustering/plot_21_planted_communities`
.. raw:: html
Community detection on a planted-partition hypergraph
.. raw:: html
.. only:: html
.. image:: /auto_examples/06_clustering/images/thumb/sphx_glr_plot_22_cell_formation_thumb.png
:alt:
:doc:`/auto_examples/06_clustering/plot_22_cell_formation`
.. raw:: html
Forming manufacturing cells from the hypergraph
.. raw:: html
.. only:: html
.. image:: /auto_examples/06_clustering/images/thumb/sphx_glr_plot_23_partitioning_thumb.png
:alt:
:doc:`/auto_examples/06_clustering/plot_23_partitioning`
.. raw:: html
Balanced partitioning and normalized cuts
.. raw:: html
.. only:: html
.. image:: /auto_examples/06_clustering/images/thumb/sphx_glr_plot_24_coclustering_thumb.png
:alt:
:doc:`/auto_examples/06_clustering/plot_24_coclustering`
.. raw:: html
Co-clustering vertices and hyperedges
.. thumbnail-parent-div-close
.. raw:: html
Frequent patterns and association rules
---------------------------------------
Itemset hypergraphs, rule hyperarcs and statistically validated hyperedges (chapter 8).
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/07_patterns/images/thumb/sphx_glr_plot_25_itemset_hypergraph_thumb.png
:alt:
:doc:`/auto_examples/07_patterns/plot_25_itemset_hypergraph`
.. raw:: html
Frequent itemsets as a hypergraph
.. raw:: html
.. only:: html
.. image:: /auto_examples/07_patterns/images/thumb/sphx_glr_plot_26_association_rules_thumb.png
:alt:
:doc:`/auto_examples/07_patterns/plot_26_association_rules`
.. raw:: html
Association rules as a directed hypergraph
.. raw:: html
.. only:: html
.. image:: /auto_examples/07_patterns/images/thumb/sphx_glr_plot_27_validated_hyperedges_thumb.png
:alt:
:doc:`/auto_examples/07_patterns/plot_27_validated_hyperedges`
.. raw:: html
Statistically validated hyperedges
.. thumbnail-parent-div-close
.. raw:: html
Higher-order structure and null models
--------------------------------------
h-motifs, simpliciality and randomized reference hypergraphs (chapter 9).
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/08_higher_order/images/thumb/sphx_glr_plot_28_h_motifs_thumb.png
:alt:
:doc:`/auto_examples/08_higher_order/plot_28_h_motifs`
.. raw:: html
h-motifs and their significance
.. raw:: html
.. only:: html
.. image:: /auto_examples/08_higher_order/images/thumb/sphx_glr_plot_29_simpliciality_thumb.png
:alt:
:doc:`/auto_examples/08_higher_order/plot_29_simpliciality`
.. raw:: html
Simpliciality and nestedness: hypergraph or simplicial complex?
.. raw:: html
.. only:: html
.. image:: /auto_examples/08_higher_order/images/thumb/sphx_glr_plot_30_null_models_thumb.png
:alt:
:doc:`/auto_examples/08_higher_order/plot_30_null_models`
.. raw:: html
Null models: what is structure and what is chance?
.. thumbnail-parent-div-close
.. raw:: html
Combinatorial problem solving
-----------------------------
Covering, transversals, acyclicity, directed hyperpaths and quality function deployment (chapter 10).
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/09_problems/images/thumb/sphx_glr_plot_31_sensor_placement_thumb.png
:alt:
:doc:`/auto_examples/09_problems/plot_31_sensor_placement`
.. raw:: html
Covering and hitting: minimal monitoring sets
.. raw:: html
.. only:: html
.. image:: /auto_examples/09_problems/images/thumb/sphx_glr_plot_32_acyclicity_thumb.png
:alt:
:doc:`/auto_examples/09_problems/plot_32_acyclicity`
.. raw:: html
Acyclic hypergraphs and join trees
.. raw:: html
.. only:: html
.. image:: /auto_examples/09_problems/images/thumb/sphx_glr_plot_33_directed_assembly_thumb.png
:alt:
:doc:`/auto_examples/09_problems/plot_33_directed_assembly`
.. raw:: html
Directed hypergraphs: assembly feasibility and cost
.. raw:: html
.. only:: html
.. image:: /auto_examples/09_problems/images/thumb/sphx_glr_plot_34_qfd_optimization_thumb.png
:alt:
:doc:`/auto_examples/09_problems/plot_34_qfd_optimization`
.. raw:: html
QFD: which specifications should be developed?
.. thumbnail-parent-div-close
.. raw:: html
Dynamics and learning
---------------------
Diffusion, group consensus, threshold contagion, label spreading, HGNN and hyperedge prediction (chapter 11).
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/10_dynamics_learning/images/thumb/sphx_glr_plot_35_diffusion_consensus_thumb.png
:alt:
:doc:`/auto_examples/10_dynamics_learning/plot_35_diffusion_consensus`
.. raw:: html
Diffusion and group consensus
.. raw:: html
.. only:: html
.. image:: /auto_examples/10_dynamics_learning/images/thumb/sphx_glr_plot_36_contagion_thumb.png
:alt:
:doc:`/auto_examples/10_dynamics_learning/plot_36_contagion`
.. raw:: html
Threshold contagion through groups
.. raw:: html
.. only:: html
.. image:: /auto_examples/10_dynamics_learning/images/thumb/sphx_glr_plot_37_learning_thumb.png
:alt:
:doc:`/auto_examples/10_dynamics_learning/plot_37_learning`
.. raw:: html
Semi-supervised learning and hyperedge prediction
.. thumbnail-parent-div-close
.. raw:: html
Temporal and comparative analysis
---------------------------------
Evolving news narratives and the comparison of two system designs (chapter 12).
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/11_temporal/images/thumb/sphx_glr_plot_38_evolving_narratives_thumb.png
:alt:
:doc:`/auto_examples/11_temporal/plot_38_evolving_narratives`
.. raw:: html
Evolving narratives in a temporal hypergraph
.. raw:: html
.. only:: html
.. image:: /auto_examples/11_temporal/images/thumb/sphx_glr_plot_39_comparing_systems_thumb.png
:alt:
:doc:`/auto_examples/11_temporal/plot_39_comparing_systems`
.. raw:: html
Comparing two versions of a production system
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
:includehidden:
/auto_examples/01_representations/index.rst
/auto_examples/02_matrix_views/index.rst
/auto_examples/03_node_link/index.rst
/auto_examples/04_similarity/index.rst
/auto_examples/05_structure/index.rst
/auto_examples/06_clustering/index.rst
/auto_examples/07_patterns/index.rst
/auto_examples/08_higher_order/index.rst
/auto_examples/09_problems/index.rst
/auto_examples/10_dynamics_learning/index.rst
/auto_examples/11_temporal/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 `_