confusionMatrix {ModelMetrics} | R Documentation |
Create a confusion matrix given a specific cutoff.
confusionMatrix(actual, predicted, cutoff = 0.5)
actual |
A vector of the labels |
predicted |
A vector of predicted values |
cutoff |
A cutoff for the predicted values |