hatvis.layout.layout_similarity#
- hatvis.layout.layout_similarity(H, measure='jaccard', transitive=True, method='cmds', weighted=True, jitter=0.0, random_state=None)[source]#
Similarity-preserving layout (HAT-VIS).
vertex similarity \(\mathbf{S}\) from the (weighted) incidence rows (
hatvis.similarity.vertex_similarity(), weighted Jaccard by default);optional max-product transitive closure (strongest chains);
\(\boldsymbol{\Delta}=\mathbf{1}-\mathbf{S}\) embedded in the plane by classical MDS (
method="cmds") or Sammon mapping ("sammon").
Identical vertices land on the same point (as two QFD parameters serving the same requirements with the same weights);
jitteradds a small random displacement to separate them.