hatvis.similarity#
Similarity of vertices, hyperedges and whole hypergraphs.
Vertex similarity is the heart of the HAT-VIS visualization (Czvetkó and Abonyi 2024): two vertices are similar when they belong to the same hyperedges with similar incidence values. The similarity of the strongest chain connecting two vertices (transitive similarity) reveals indirect relations, and \(\boldsymbol{\Delta}=\mathbf{1}-\mathbf{S}\) is the dissimilarity that the layout algorithms embed in the plane.
Weighted Jaccard and other profile similarities, transitive closure, hypergraph distances.
Functions#
|
Vertex similarity matrix \(\mathbf{S}\) (rows and columns follow |
|
Hyperedge similarity matrix: the vertex similarity of the dual hypergraph. |
|
Transitive closure of a similarity matrix (strongest-chain similarity). |
|
Dissimilarity matrix \(\boldsymbol{\Delta}=\mathbf{1}-\mathbf{S}\) used by the similarity layouts. |
|
Distance between two hypergraphs. |
|
Similarity between the rows of a non-negative profile matrix |