Skip to content

Mahalanobis detector is incompatible with scipy > 1.13 #906

Open
@sfo

Description

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions