hyperspy.misc.machine_learning.tools module

hyperspy.misc.machine_learning.tools.amari(W, A)

Calculate the Amari distance between two non-singular matrices.

Convenient for checking convergence in ICA algorithms (See [Moreau1998] and [Bach2002]).

Parameters

A (W,) – The two matrices to measure.

Returns

Amari distance between W and A.

Return type

float

References

Moreau1998

E. Moreau and O. Macchi, “Self-adaptive source separation. ii. comparison of the direct, feedback, and mixed linear network”, IEEE Trans. on Signal Processing, vol. 46(1), pp. 39-50, 1998.

Bach2002

F. Bach and M. Jordan, “Kernel independent component analysis”, Journal of Machine Learning Research, vol. 3, pp. 1-48, 2002.