From e544ef91ec1af39f41ed8a079e78ad378b630531 Mon Sep 17 00:00:00 2001 From: Davies Liu Date: Mon, 3 Nov 2014 13:42:02 -0800 Subject: [PATCH] revert unrelated change --- python/pyspark/mllib/regression.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/pyspark/mllib/regression.py b/python/pyspark/mllib/regression.py index 95bdf6eed3d57..43c1a2fc101dd 100644 --- a/python/pyspark/mllib/regression.py +++ b/python/pyspark/mllib/regression.py @@ -122,6 +122,7 @@ class LinearRegressionModel(LinearRegressionModelBase): # train_func should take two parameters, namely data and initial_weights, and # return the result of a call to the appropriate JVM stub. +# _regression_train_wrapper is responsible for setup and error checking. def _regression_train_wrapper(train_func, modelClass, data, initial_weights): initial_weights = initial_weights or [0.0] * len(data.first().features) weights, intercept = train_func(_to_java_object_rdd(data, cache=True),