| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
LinearModel --+
|
LinearRegressionModelBase --+
|
LinearRegressionModel
A linear regression model derived from a least-squares fit.
>>> data = array([0.0, 0.0, 1.0, 1.0, 3.0, 2.0, 2.0, 3.0]).reshape(4,2) >>> lrm = LinearRegressionWithSGD.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 Sun Mar 2 16:35:00 2014 | http://epydoc.sourceforge.net |