hatvis.spectral.transition_matrix#
- hatvis.spectral.transition_matrix(H, kind='zhou')[source]#
Row-stochastic transition matrix of a random walk on the vertices.
kind"zhou": \(\mathbf{P}=\mathbf{D}_v^{-1}\mathbf{B}\mathbf{W}\mathbf{D}_e^{-1}\mathbf{B}^\mathsf{T}\) on the 0/1 incidence pattern (the walker may stay put);"edge_dependent": as"zhou"but the second step chooses \(v\in e\) with probability \(b_{ve}/\sum_x b_{xe}\);"carletti": \(p_{ij}\propto\sum_{e\ni i,j}(|e|-1)\), \(i\ne j\);"clique": simple random walk on the clique expansion.
Rows of isolated vertices are zero.