spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject spark git commit: [MINOR] fix RegressionEvaluator doc
Date Fri, 29 May 2015 04:26:46 GMT
Repository: spark
Updated Branches:
  refs/heads/master c45d58c14 -> 834e69952


[MINOR] fix RegressionEvaluator doc

`make clean html` under `python/doc` returns
~~~
/Users/meng/src/spark/python/pyspark/ml/evaluation.py:docstring of pyspark.ml.evaluation.RegressionEvaluator.setParams:3:
WARNING: Definition list ends without a blank line; unexpected unindent.
~~~

harsha2010

Author: Xiangrui Meng <meng@databricks.com>

Closes #6469 from mengxr/fix-regression-evaluator-doc and squashes the following commits:

91e2dad [Xiangrui Meng] fix RegressionEvaluator doc


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/834e6995
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/834e6995
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/834e6995

Branch: refs/heads/master
Commit: 834e699524583a7ebfe9e83b3900ec503150deca
Parents: c45d58c
Author: Xiangrui Meng <meng@databricks.com>
Authored: Thu May 28 21:26:43 2015 -0700
Committer: Xiangrui Meng <meng@databricks.com>
Committed: Thu May 28 21:26:43 2015 -0700

----------------------------------------------------------------------
 python/pyspark/ml/evaluation.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/834e6995/python/pyspark/ml/evaluation.py
----------------------------------------------------------------------
diff --git a/python/pyspark/ml/evaluation.py b/python/pyspark/ml/evaluation.py
index 23c3716..d8ddb78 100644
--- a/python/pyspark/ml/evaluation.py
+++ b/python/pyspark/ml/evaluation.py
@@ -205,7 +205,7 @@ class RegressionEvaluator(JavaEvaluator, HasLabelCol, HasPredictionCol):
     def setParams(self, predictionCol="prediction", labelCol="label",
                   metricName="rmse"):
         """
-        setParams(self, predictionCol="prediction", labelCol="label",
+        setParams(self, predictionCol="prediction", labelCol="label", \
                   metricName="rmse")
         Sets params for regression evaluator.
         """


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org


Mime
View raw message