using lassoglm for logistic regression
2 ビュー (過去 30 日間)
古いコメントを表示
I have 3 predictors that are numerical and 2 predictors that are categorical. The expected classes are simply yes or no, so I reckon glmfit will be a good function to use. Upon using glmfit, a warning message appeared:
Warning: X is ill conditioned, or the model is overparametrised, and some coefficients are not identifiable. You should use caution in making predictions.
This suggests that MAYBE some of the predictors might be correlated.
I am now trying to use glmfit with regularisation (lassoglm) and I want to ask the following:
- I am given 100 lambdas. I understand these are geometric sequence of lambdas. (but of what values? and how do i choose which lambda?)
- How do I know which predictors are correlated and must be ignored?
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Linear Regression についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!