confusionMatrix {ModelMetrics}R Documentation

Confusion Matrix

Description

Create a confusion matrix given a specific cutoff.

Usage

confusionMatrix(actual, predicted, cutoff = 0.5)

Arguments

actual

A vector of the labels

predicted

A vector of predicted values

cutoff

A cutoff for the predicted values


[Package ModelMetrics version 1.2.2.2 Index]