Help Visualizing & Optimizing Lasso Results
2 次查看(过去 30 天)
显示 更早的评论
I have a matrix of data (112x19) with corresponding Y's. I used the lasso regression function (model type = quadratic) to perform a regression, and I'm attempting to visualize the results for the purposes of gaining insight into the relative impact of the predictors. Now I'm stuck.
I can extract the resultant regression equation by hand and create a meshgrid / surface plot to show two predictors, but that gets very large, and doesn't scale well at all. I took a crack at using rstool, but that doesn't seem to work either. So, does anyone have suggestions for ways to:
- Create plots to visualize the results of a lasso regression. Ideally a response surface plot would be great, but alternatively, the use of the plotSlice (or other tools available for stepwise regression, etc) would be great.
- The use of optimization routines would be of interest. Is it possible to take the results of a lasso regression and use it in the Optimization toolbox. (I don't have this yet, but am considering it).
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!