I observed that as I adjust the eps parameter downwards, the model considers more variables (i.e. less variables have a coef of zero). Is there an explanation for this trend?
Figure 1: eps == 0.001
Figure 2: eps == 0.0001
I observed that as I adjust the eps parameter downwards, the model considers more variables (i.e. less variables have a coef of zero). Is there an explanation for this trend?
Figure 1: eps == 0.001
Figure 2: eps == 0.0001
Copyright © 2021 Jogjafile Inc.


ElasticNetCVcalculates a regularization path[min_alpha, max_alpha]of lengthn_alphasand runs cross-validation to determine the bestalpha. Here,max_alphais the value for whichElasticNetproduces all-zero solution, andmin_alphaequalseps * max_alpha. So, for smalleralphas we expect fewer zero coefficients as the objectiveLoss + min_alpha * Regularizationapproaches ordinary least squares.