hatvis.metrics#
Structural statistics of hypergraphs.
Distributions, \(s\)-walk based connectivity (Aksoy et al. 2020), clustering, degree assortativity, nestedness and simpliciality (Landry, Young and Eikmeier 2024).
Distributions, s-walk connectivity, clustering coefficients, assortativity, nestedness, simpliciality.
Functions#
|
Number (or fraction) of vertices of each degree. |
|
Number (or fraction) of hyperedges of each size. |
Distribution of \(|e\cap f|\) over unordered pairs of distinct hyperedges with a common vertex. |
|
|
The \(s\)-connected components. |
|
|
|
Length of the shortest \(s\)-walk between two hyperedges (or vertices); |
|
All-pairs \(s\)-distances ( |
|
Largest finite \(s\)-distance ( |
|
How connectivity changes with \(s\): number of components, size of the largest one and diameter. |
Two-node clustering coefficient (Gallagher and Goldberg 2013). |
|
Local clustering coefficient of the clique expansion (counts every hyperedge as a clique). |
|
|
Degree assortativity of a hypergraph (after Chodrow 2020). |
|
Inclusion statistics: how many hyperedges are proper subsets of another hyperedge. |
|
Simpliciality measures of Landry, Young and Eikmeier (2024). |
Shannon entropy (bits) of the degree distribution. |
|
von Neumann entropy of the normalized Laplacian, \(-\sum_k \lambda_k/n\,\log_2(\lambda_k/n)\), a basis-free measure of structural heterogeneity. |