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 @@ -159,7 +159,7 @@ def getThreshold(self):
159159 """
160160 Gets the value of threshold or attempt to convert thresholds to threshold if set, or default
161161 value if neither are set.
162- This conversion is equivalent to: {{{1 / (1 + thresholds(0) / thresholds(1))}}} .
162+ This conversion is equivalent to: :math:` \\ frac{1}{1 + \\ frac{ thresholds(0)}{ thresholds(1)}}` .
163163 """
164164 self ._checkThresholdConsistency ()
165165 if self .isSet (self .thresholds ):
@@ -188,7 +188,7 @@ def getThresholds(self):
188188 If :py:attr:`thresholds` is set, return its value.
189189 Otherwise, if :py:attr:`threshold` is set, return the equivalent thresholds for binary
190190 classification: (1-threshold, threshold).
191- If neither are set, throw an error .
191+ If neither are set, return the default value .
192192 """
193193 self ._checkThresholdConsistency ()
194194 if not self .isSet (self .thresholds ) and self .isSet (self .threshold ):
You can’t perform that action at this time.
0 commit comments