Thanks to visit codestin.com
Credit goes to github.com

Skip to content

sklearn v1.8 not compatible with hdbscan #4256

@chrishalcrow

Description

@chrishalcrow

scikit-learn have deprecated force_all_finite, which hdbscan uses here:
https://github.com/scikit-learn-contrib/hdbscan/blob/949ff7aba4e65bcfc77a505948cd50617fbc047e/hdbscan/hdbscan_.py#L767
which breaks our tests:
https://github.com/SpikeInterface/spikeinterface/actions/runs/20129057940/job/57765648034?pr=4252

hdbscan seems aware of the issue: scikit-learn-contrib/hdbscan#673

For now we can limit scikit-learn to <1.8, and wait for hbscan to update.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtestingRelated to test routines

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions