Repository: spark
Updated Branches:
  refs/heads/branch-1.4 6e99dd5d0 -> 1d49d8c3f


[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 <m...@databricks.com>

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

91e2dad [Xiangrui Meng] fix RegressionEvaluator doc

(cherry picked from commit 834e699524583a7ebfe9e83b3900ec503150deca)
Signed-off-by: Xiangrui Meng <m...@databricks.com>


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

Branch: refs/heads/branch-1.4
Commit: 1d49d8c3fd297f7a6269693fbec623ddec96b279
Parents: 6e99dd5
Author: Xiangrui Meng <m...@databricks.com>
Authored: Thu May 28 21:26:43 2015 -0700
Committer: Xiangrui Meng <m...@databricks.com>
Committed: Thu May 28 21:26:49 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/1d49d8c3/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-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to