using lassoglm for logistic regression
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Linear Regression in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!