Package pyspark :: Package mllib :: Module regression :: Class LinearRegressionWithSGD
[frames] | no frames]

Class LinearRegressionWithSGD

source code

object --+
         |
        LinearRegressionWithSGD

Instance Methods

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods
 
train(cls, data, iterations=100, step=1.0, miniBatchFraction=1.0, initialWeights=None)
Train a linear regression model on the given data.
source code
Properties

Inherited from object: __class__