Home | Trees | Indices | Help |
|
---|
|
object --+ | LinearModel --+ | LinearRegressionModelBase --+ | RidgeRegressionModel
A linear regression model derived from a least-squares fit with an l_2 penalty term.
>>> data = array([0.0, 0.0, 1.0, 1.0, 3.0, 2.0, 2.0, 3.0]).reshape(4,2) >>> lrm = RidgeRegressionWithSGD.train(sc.parallelize(data), initialWeights=array([1.0]))
Instance Methods | |
Inherited from Inherited from Inherited from |
Properties | |
Inherited from |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Apr 9 15:41:34 2014 | http://epydoc.sourceforge.net |