calcMis {logicDT}R Documentation

Calculate the misclassification rate

Description

Computation of the misclassification rate for risk estimates in a binary classification problem.

Usage

calcMis(preds, y, cutoff = 0.5)

Arguments

preds

Numeric vector of predictions

y

True outcomes

cutoff

Classification cutoff. By default, scores above 50 otherwise.

Value

The misclassification rate


[Package logicDT version 1.0.4 Index]