computeRes {MCglmnet}R Documentation

Performance evaluation for binary response

Description

Performance evaluation for binary response

Usage

computeRes(y, preds, cutoff = 0.5)

Arguments

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.


[Package MCglmnet version 1.0.0 Index]