Skip to content

Commit 4b4cbc6

Browse files
committed
nit
1 parent 932a17e commit 4b4cbc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/pyspark/ml/evaluation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ class BinaryClassificationEvaluator(JavaEvaluator, HasLabelCol, HasRawPrediction
139139
0.70...
140140
>>> evaluator.evaluate(dataset, {evaluator.metricName: "areaUnderPR"})
141141
0.82...
142-
>>> evaluator.getNumBins
142+
>>> evaluator.getNumBins()
143143
1000
144144
145145
.. versionadded:: 1.4.0
@@ -239,7 +239,7 @@ class RegressionEvaluator(JavaEvaluator, HasLabelCol, HasPredictionCol, HasWeigh
239239
>>> evaluator = RegressionEvaluator(predictionCol="raw", weightCol="weight")
240240
>>> evaluator.evaluate(dataset)
241241
2.740...
242-
>>> evaluator.getThroughOrigin
242+
>>> evaluator.getThroughOrigin()
243243
False
244244
245245
.. versionadded:: 1.4.0

0 commit comments

Comments
 (0)