how to get probabilities between 0 and 1 using glmnet categorical regression -


my response variable categorical, 1 7. understand using glmnet can set type response , probability of prediction.

prob.vec = predict.cv.glmnet(cvfit, newx = x.test, s = "lambda.min", type = "response")

however, interested in having probability of other category well. wonder if such functionality exist in glmnet.


Comments

Popular posts from this blog

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -