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

FutureWarning: 'force_all_finite' was renamed to 'ensure_all_finite' in 1.6 and will be removed in 1.8. #664

Open
derinwalters opened this issue Dec 15, 2024 · 0 comments

Comments

@derinwalters
Copy link

derinwalters commented Dec 15, 2024

Looks like sklearn package is changing a parameter name on method sklearn.utils method check_array from 'force_all_finite' to 'ensure_all_finite'. I'm on scikit-learn=1.6.0

sklearn/utils/deprecation.py:151: FutureWarning: 'force_all_finite' was renamed to 'ensure_all_finite' in 1.6 and will be removed in 1.8.

X = check_array(X, accept_sparse="csr", force_all_finite=False)

X = check_array(X, accept_sparse="csr", force_all_finite=False)

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

1 participant