confusionMatrixMC: Create confusion matrix(-ces) multi-class

Description Usage Arguments Value

View source: R/confusionMatrix.R

Description

DEPRECATED; DO NOT USE

Usage

1
confusionMatrixMC(predicted, expected, cutoff = "all", neg.response = NULL)

Arguments

predicted

A matrix or data frame containing the prediction probabilities of each class in each column.

expected

A character vector of response labels.

cutoff

A single or vector of classification cutoffs ranging from 0 to 1

neg.response

The names of the negative response(s). These classes will be excluded from the calculations.

Value

A vector or matrix


luannnguyen/mltoolkit documentation built on Aug. 29, 2020, 8:31 a.m.