File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -705,14 +705,14 @@ def partial_dependence(
705
705
continue
706
706
707
707
if _safe_indexing (X , feature_idx , axis = 1 ).dtype .kind in "iu" :
708
- # TODO(1.8 ): raise a ValueError instead.
708
+ # TODO(1.9 ): raise a ValueError instead.
709
709
warnings .warn (
710
710
f"The column { feature !r} contains integer data. Partial "
711
711
"dependence plots are not supported for integer data: this "
712
712
"can lead to implicit rounding with NumPy arrays or even errors "
713
713
"with newer pandas versions. Please convert numerical features"
714
714
"to floating point dtypes ahead of time to avoid problems. "
715
- "This will raise ValueError in scikit-learn 1.8 ." ,
715
+ "This will raise ValueError in scikit-learn 1.9 ." ,
716
716
FutureWarning ,
717
717
)
718
718
# Do not warn again for other features to avoid spamming the caller.
You can’t perform that action at this time.
0 commit comments