-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
🐛 Deprecation Warning: force_all_finite
from scikit-learn
Summary
Our test suite and CI logs are being cluttered by a FutureWarning
related to the deprecated force_all_finite
parameter in scikit-learn.
ℹ️ This warning is not triggered by our own code, but by dependencies that internally use the deprecated argument.
⚠️ Warning Message
FutureWarning: 'force_all_finite' was renamed to 'ensure_all_finite' in 1.6 and will be removed in 1.8.
This is emitted by scikit-learn’s _deprecate_force_all_finite()
helper:
# sklearn/utils/deprecation.py
def _deprecate_force_all_finite(force_all_finite, ensure_all_finite):
...
warnings.warn(
"'force_all_finite' was renamed to 'ensure_all_finite' in 1.6 and will be removed in 1.8.",
FutureWarning,
)
✅ Proposed Actions
- (ideal) Identify and update dependencies that still use force_all_finite.
- (mandatory) Track with this issue until scikit-learn>=1.8.0 removes the param entirely.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed