picard.amari_distance

picard.amari_distance(W, A)

Computes the Amari distance between two matrices W and A. It cancels when WA is a permutation and scale matrix.

Parameters:
Wndarray, shape (n_features, n_features)

Input matrix

Andarray, shape (n_features, n_features)

Input matrix

Returns:
dfloat

The Amari distance

Fork me on GitHub