hatvis.learning.propagation_operator#
- hatvis.learning.propagation_operator(H, self_loops=True)[source]#
Normalized propagation operator of the hypergraph.
\(\boldsymbol{\Theta}=\mathbf{D}_v^{-1/2}\mathbf{B}\mathbf{W}\mathbf{D}_e^{-1}\mathbf{B}^\mathsf{T}\mathbf{D}_v^{-1/2}\).
With
self_loops=Trueevery vertex gets an extra singleton hyperedge of weight 1, as is customary in HGNN implementations.