New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there any way to see alphas/coefs/intercept associated with *all* scenarios tested within ElasticNetCV #28726
Comments
Maybe you want to have a look at the path function: https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.enet_path.html#sklearn.linear_model.enet_path |
@cppt , here is the code:
Output: Alpha: 34.04002216123752 |
Describe the workflow you want to enable
I like that ElasticNetCV outputs the MSE path for CV folds/alphas but is there any way to similarly track associated model params (ie, coef/intercept) for each scenario and include them as part of output.
I get that it's easier to just output 'best' estimators/params but would be useful to add granularity to allow identifying a 'sweet spot', either via MSE curve or something else, which would make outputting all params additive.
Describe your proposed solution
As described, run existing scenarios as is but instead of holding only through evaluation of 'best' model, save all model params/outputs and return in an additional data object/structure.
Describe alternatives you've considered, if relevant
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: