Package pyspark :: Package mllib :: Module classification :: Class LogisticRegressionWithSGD
[frames] | no frames]

Class LogisticRegressionWithSGD

source code

object --+
         |
        LogisticRegressionWithSGD

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 logistic regression model on the given data.
source code
Properties

Inherited from object: __class__