How to Interpret Results of lasso() Function for Model Selection
조회 수: 11 (최근 30일)
이전 댓글 표시
I am currently attempting to determine the most predictive multiple linear regression model to use for a set of data with continuous variables and am trying to figure out the best combination of variables to use in the model as well as the coefficients of those variables.
I have been guided towards Lasso regression as a means to find the most predictive model, though I am a bit unsure in regards to interpreting the results. In MATLAB, I ran my data through the [B,FitInfo] = lasso(X,Y) function. Is the most predictive model the one whose coefficients are B(:,FitInfo.IndexMinMSE)?
Once I have found the model that tells me which combination of coefficients are most predictive, do I use the coefficient results provided by the lasso function to use for the regression, or do I re-run a multiple linear regression using the remaining variables and use those coefficients?
Thanks for the help!
댓글 수: 0
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!