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

Replace force_all_finite with ensure_all_finite to Address FutureWarning #1174

Open
aminsabzmakan opened this issue Jan 6, 2025 · 1 comment

Comments

@aminsabzmakan
Copy link

aminsabzmakan commented Jan 6, 2025

The use of the force_all_finite in the check_array method is causing a FutureWarning due to a recent deprecation in scikit-learn. According to the warning, force_all_finite has been renamed to ensure_all_finite in scikit-learn version 1.6 and will be removed in version 1.8.

scikit-learn/scikit-learn#29262

@lmcinnes
Copy link
Owner

lmcinnes commented Jan 7, 2025

If I change it now, it will break compatability with all earlier releases of sklearn. For this reason I think it will be better to accept some deprecation warnings and wait a while before making the change.

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

2 participants