Skip to main content

Module assortativity

Module assortativity 

Source
Available on crate feature algorithms only.
Expand description

Degree assortativity of a hypergraph (xgi/algorithms/assortativity.py).

Deterministic paths only: dynamical_assortativity and the exact degree_assortativity. The random-sampling default awaits the Phase-4 rand_pcg pin.

Enums§

AssortError
Errors from assortativity computations.
AssortKind
The kind of exact degree assortativity.

Functions§

degree_assortativity_exact
Exact degree assortativity (Pearson corr over the chosen degree pairs). XGI parity: degree_assortativity(exact=True) (assortativity.py:117-161).
dynamical_assortativity
Dynamical assortativity of a uniform hypergraph. XGI parity: dynamical_assortativity (assortativity.py:13-64).