alibi-detect icon indicating copy to clipboard operation
alibi-detect copied to clipboard

Mahalanobis detector is incompatible with scipy > 1.13

Open sfo opened this issue 1 year ago • 0 comments

Since scipy version 1.14.0, the scipy.linalg.eigh method does no longer accept the eigvals parameter (it's been marked as deprecated since 1.5.0), which is used here: https://github.com/SeldonIO/alibi-detect/blob/ecb3bcc59d429bc978bac32380bcc47aa21aa239/alibi_detect/od/mahalanobis.py#L272

The solution is also given in the deprecation note:

[...] use subset_by_index keyword instead. [...]

I fear that I cannot oversee the implications and consequences of this change, so I will avoid submitting a pull request for the time being.

sfo avatar Oct 30 '24 10:10 sfo