File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -437,7 +437,7 @@ def get_assertions_params(self):
437437
438438 :rtype: :class:`dataikuapi.dss.ml.DSSMLAssertionsParams`
439439 """
440- return DSSMLAssertionsParams (self .mltask_settings ["assertionParams " ])
440+ return DSSMLAssertionsParams (self .mltask_settings ["assertionsParams " ])
441441
442442 def split_ordered_by (self , feature_name , ascending = True ):
443443 """
@@ -847,11 +847,11 @@ def expected_valid_ratio(self):
847847 is equal to the expected class for classification or in the expected range for regression.
848848 :rtype: str
849849 """
850- return self ._internal_dict ["successRatio " ]
850+ return self ._internal_dict ["expectedValidRatio " ]
851851
852852 @expected_valid_ratio .setter
853853 def expected_valid_ratio (self , expected_valid_ratio ):
854- self ._internal_dict ["successRatio " ] = expected_valid_ratio
854+ self ._internal_dict ["expectedValidRatio " ] = expected_valid_ratio
855855
856856 @property
857857 def expected_min (self ):
@@ -917,12 +917,12 @@ def get_metric(self, assertion_name):
917917 return None
918918
919919 @property
920- def positive_assertion_ratio (self ):
920+ def passing_assertions_ratio (self ):
921921 """
922922 Returns the ratio of passing assertions
923923 :rtype: float
924924 """
925- return self ._internal_dict ['positiveAssertionsRatio ' ]
925+ return self ._internal_dict ['passingAssertionsRatio ' ]
926926
927927
928928class DSSMLAssertionMetric (object ):
You can’t perform that action at this time.
0 commit comments