Skip to content

Commit bd0cb9c

Browse files
committed
Fix call to unimplemented unset_weighting method
1 parent 756fad2 commit bd0cb9c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dataikuapi/dss/ml.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,8 @@ def remove_sample_weighting(self):
463463
Deprecated. Use unset_weighting() instead
464464
"""
465465
warnings.warn("remove_sample_weighting() is deprecated, please use set_weigthing(method=\"NO_WEIGHTING\") instead", DeprecationWarning)
466-
return self.unset_weighting()
466+
return self.set_weigthing(method="NO_WEIGHTING")
467+
467468

468469
class DSSClusteringMLTaskSettings(DSSMLTaskSettings):
469470
__doc__ = []

0 commit comments

Comments
 (0)