matcorr#
- matcorr(first, second, remove_mean=False, method=2, weighting=None)#
Match rows of two matrices by absolute cosine correlation.
Methods are
0(globally optimal Hungarian assignment),1(Vogel approximation), and2(successive maximum correlation). Returned row indices are zero-based. Rectangular inputs returnmin(rows)unique pairs.