My response variable is categorical, from 1 to 7. I understand using glmnet I can set the type to response and get the probability of the prediction.
prob.vec = predict.cv.glmnet(cvfit, newx = X.test, s = "lambda.min", type = "response")
However, I am interested in having the probability of other category as well. I wonder if such functionality exist in glmnet.