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

javascript - WinJS appendTextAsync producing scheduler errors -

minify - Minimizing css files -

Sockets with kotlin -