Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mahalanobis detector is incompatible with scipy > 1.13 #906

Open
sfo opened this issue Oct 30, 2024 · 0 comments
Open

Mahalanobis detector is incompatible with scipy > 1.13 #906

sfo opened this issue Oct 30, 2024 · 0 comments

Comments

@sfo
Copy link

sfo commented Oct 30, 2024

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:

eigvals, eigvects = eigh(cov_batch, eigvals=(n_params - n_components, n_params - 1))

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant