[R] glmnet strange error message

Dave_F friedenbergd at battelle.org
Thu Jun 3 14:15:51 CEST 2010


I think I have figured out the problem. The response variable has one level
with only one observation -- hence when that one observation was in the test
set the training data did not contain any observations from that level and
so did not fit a logistic model for that level causing the somewhat cryptic
error message.


-- 
View this message in context: http://r.789695.n4.nabble.com/glmnet-strange-error-message-tp2240458p2241566.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list