W3cubDocs

/scikit-learn

sklearn.utils.extmath.fast_logdet

sklearn.utils.extmath.fast_logdet(A) [source]

Compute log(det(A)) for A symmetric

Equivalent to : np.log(nl.det(A)) but more robust. It returns -Inf if det(A) is non positive or is not defined.

Parameters:
A : array_like

The matrix

© 2007–2018 The scikit-learn developers
Licensed under the 3-clause BSD License.
http://scikit-learn.org/stable/modules/generated/sklearn.utils.extmath.fast_logdet.html