alibi-detect
alibi-detect copied to clipboard
Mahalanobis detector is incompatible with scipy > 1.13
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_indexkeyword 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.