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).

  1. vertex similarity \(\mathbf{S}\) from the (weighted) incidence rows (hatvis.similarity.vertex_similarity(), weighted Jaccard by default);

  2. optional max-product transitive closure (strongest chains);

  3. \(\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); jitter adds a small random displacement to separate them.