Skip to main content

procrustes

Function procrustes 

Source
pub fn procrustes(
    data1: &[Vec<f64>],
    data2: &[Vec<f64>],
) -> Result<ProcrustesResult, ErrorsJSL>
Expand description

Procrustes analysis of two configurations of m points in d dimensions (SciPy’s scipy.spatial.procrustes): both are centred and scaled to unit norm, then the second is rotated (reflections allowed) and scaled to best match the first; the disparity is the remaining sum of squared differences, a measure of difference in shape.