Skip to content

Commit 1d541a3

Browse files
author
arnaudde
committed
Clean up
1 parent 852eb31 commit 1d541a3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

dataikuapi/dss/ml.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ def from_parts(name, a_filter, condition):
717717
Creates assertion parameters from name, filter and condition
718718
719719
:param str name: Name of the assertion
720-
:param object a_filter: A :class:`~dataikuapi.dss.utils.DSSFilter` to select assertion population
720+
:param object a_filter: A :class:`~dataikuapi.dss.utils.DSSFilter` to select assertion population
721721
:param object condition: A :class:`~dataikuapi.dss.ml.DSSMLAssertionCondition` for the assertion to be successful
722722
723723
:rtype: :class:`dataikuapi.dss.ml.DSSMLAssertionParams`
@@ -805,7 +805,7 @@ def from_expected_range(expected_valid_ratio, expected_min, expected_max):
805805
The expected range is the interval between expected_min and expected_max (included)
806806
for the predictions in which the rows will be considered valid.
807807
808-
:param float expected_valid_ratio: Assertion passes if this ratio of rows predicted between expected_min and expected_max is attained
808+
:param float expected_valid_ratio: Assertion passes if this ratio of rows predicted between expected_min and expected_max (included) is attained
809809
:param float expected_min: Min value of the expected range
810810
:param float expected_max: Max value of the expected range
811811
@@ -857,7 +857,7 @@ def expected_valid_ratio(self, expected_valid_ratio):
857857
def expected_min(self):
858858
"""
859859
Returns the min (included) of the expected range or None if it is not defined.
860-
Assertion passes if the ratio of rows predicted between expected_min and expected_max is attained.
860+
Assertion passes if the expected_valid_ratio of rows predicted between expected_min and expected_max (included) is attained.
861861
:rtype: float
862862
"""
863863
if "expectedMinValue" in self._internal_dict:
@@ -873,7 +873,7 @@ def expected_min(self, expected_min):
873873
def expected_max(self):
874874
"""
875875
Returns the max (included) of the expected range or None if it is not defined.
876-
Assertion passes if the ratio of rows predicted between expected_min and expected_max is attained.
876+
Assertion passes if the ratio of rows predicted between expected_min and expected_max (included) is attained.
877877
:rtype: float
878878
"""
879879
if "expectedMaxValue" in self._internal_dict:

0 commit comments

Comments
 (0)