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

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -