Github user BryanCutler commented on a diff in the pull request:

    https://github.com/apache/spark/pull/11404#discussion_r54321208
  
    --- Diff: python/pyspark/mllib/regression.py ---
    @@ -217,19 +220,8 @@ def _regression_train_wrapper(train_func, modelClass, 
data, initial_weights):
     
     class LinearRegressionWithSGD(object):
         """
    -    Train a linear regression model with no regularization using 
Stochastic Gradient Descent.
    -    This solves the least squares regression formulation
    -
    -        f(weights) = 1/n ||A weights-y||^2
    -
    -    which is the mean squared error.
    -    Here the data matrix has n rows, and the input RDD holds the set of 
rows of A, each with
    -    its corresponding right hand side label y.
    -    See also the documentation for the precise formulation.
    -
    --- End diff --
    
    This comment block is repeated right below, so I thought it would be fine 
to remove


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to