computeRes {MCglmnet} | R Documentation |
Performance evaluation for binary response
computeRes(y, preds, cutoff = 0.5)
y |
response variable |
preds |
predicted probability from regularized logistic regression model |
cutoff |
cutoff value for predictied probability. This is used for calculating sensitivy, specificity, accuracy. Default cutoff is 0.5. |