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§
- Assort
Error - Errors from assortativity computations.
- Assort
Kind - 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).