hatvis.spectral.spectral_embedding#

hatvis.spectral.spectral_embedding(H, dim=2, kind='normalized', drop_first=True)[source]#

Spectral embedding of the vertices (Zhou et al. 2006).

Uses the eigenvectors of the dim smallest eigenvalues of the hypergraph Laplacian (the first, trivial one is dropped). For the normalized Laplacian the coordinates are rescaled by \(\mathbf{D}_v^{-1/2}\).