| Home | Trees | Indices | Help | 
        
  | 
  
|---|
| 
       | 
  
           object --+        
                    |        
          LinearModel --+    
                        |    
LinearRegressionModelBase --+
                            |
                           LassoModel
A linear regression model derived from a least-squares fit with an l_1 penalty term.
>>> data = array([0.0, 0.0, 1.0, 1.0, 3.0, 2.0, 2.0, 3.0]).reshape(4,2) >>> lrm = LassoWithSGD.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 Thu Jul 17 20:36:18 2014 | http://epydoc.sourceforge.net |