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

Class RidgeRegressionWithSGD

source code

object --+
         |
        RidgeRegressionWithSGD

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, regParam=1.0, miniBatchFraction=1.0, initialWeights=None)
Train a ridge regression model on the given data.
source code
Properties

Inherited from object: __class__