Skip to content

Commit

Permalink
trigger jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
yanboliang committed Jun 16, 2015
1 parent 6dc4d99 commit f8deda4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/pyspark/mllib/regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ def train(cls, data, iterations=100, step=1.0, miniBatchFraction=1.0,
initialWeights=None, regParam=0.0, regType=None, intercept=False,
validateData=True):
"""
Train a linear regression model using Stochastic Gradient Descent.
Train a linear regression model using Stochastic Gradient
Descent (SGD).
This solves the least squares regression formulation
f(weights) = 1/n ||A weights-y||^2^
(which is the mean squared error).
Expand Down

0 comments on commit f8deda4

Please sign in to comment.