Skip to content

Deprecated argument names in hdbscan_.py #673

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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