I'm looking at the example page for Lasso and ElasticNet (
http://scikit-learn.org/0.11/auto_examples/linear_model/plot_lasso_coordinate_descent_path.html
). The code is clearly plotting coefficients, but the ylabel says "weights".
Similarly, the xlabel is "-log(Lambda)", but it looks like it's actually the
number of iterations.
Do I have that right? If so, I could make a pull request with the corrected
example later.
On a separate note, why does lasso_path in the example return instances of an
`ElasticNet` model, as opposed to a `Lasso` model? Are they equivalent when
l1=1.0 (or rho=1.0 ... slightly confused on the parameter naming as compared to
R or Octave packages).
Thanks,
Rolpher
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general