Skip to content

Conversation

joaquindas
Copy link

Sklearn deprecated force_all_finite param for check_array(). Docs here. There is a deprecation warning when fitting the model. check_array function is used twice in hdbscan_.py. Changed both to new param naming ensure_all_finite, functionality is identical.

@JelmerBot
Copy link
Collaborator

This change also increases the minimum required scikit-learn version from 0.2 to 1.6. Maybe it is worth testing which version is available at run-time to keep support for older scikit-learn versions?

@joaquindas
Copy link
Author

If dependencies were declared in pyproject.toml, it would be straightforward to specify scikit-learn version for given python versions. Is there interest in setting that up instead of requirements.txt?

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

Successfully merging this pull request may close these issues.

2 participants