graphclust.metrics.coranking_matrix#

graphclust.metrics.coranking_matrix(X_high, Y, *, precomputed=False)[source]#

Co-ranking matrix \(\mathbf{Q}\) (Lee and Verleysen 2009).

\(Q_{hl}\) is the number of ordered pairs \((i,j)\) for which \(j\) is the \(h\)-th neighbor of \(i\) in the input space and the \(l\)-th in the map (\(h,l=1,\dots,N-1\); returned 0-based). Entries below the diagonal are “intrusions” (too close in the map), entries above it “extrusions”.

Examples using graphclust.metrics.coranking_matrix#

Measuring the quality of a map

Measuring the quality of a map