I was writing an example for my students when I came across what I think is
an issue.  In version 24.1 using the LassoCV, the <object>.coef variable
should have a list of my coeficeients (at least according to my
understanding of the documents).  However, the variable is not populated
nad throws an error

'LassoCV' object has no attribute 'coef'


I do have a .coef_ variable which I believe is the coefficient for the best
fit only.

the  alphas and alphas_ variables have a similar issue in that alphas
returns nothing while alphas_ returns the list of alphas used.

I'm not sure if this is an documentation oversight or a real issue but
wanted to get clarification.

I can get what I need from o ther methods, but wanted to see if this needed
to be addressed.

Best Regards,

Robert Slater
_______________________________________________
scikit-learn mailing list
scikit-learn@python.org
https://mail.python.org/mailman/listinfo/scikit-learn

Reply via email to