hi Alejandro,

> I guess it is because the Lasso class inherits from the ElasticNet class:
>
> class Lasso(ElasticNet):
> ...

no fully. It's because Lasso is an ElasticNet with rho=1.0 and for
this reason we use the ElasticNet.fit method for the Lasso after
setting rho to 1.

Option one is to duplicate the doc of Lasso.fit or option 2 remove the
work "ElasticNet" from the docstring. I am +1 for 2.

Alex

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to