getCMVals: Pulls confusion matrix metrics from predicted and observed...

Description Usage Arguments

Description

Pulls confusion matrix metrics from predicted and observed labels, works for both binomial and multinomial. Calls caret confusionMatrix() and then returns as a vector.

Usage

1
getCMVals(pred, obs)

Arguments

pred

vector of predicted labels

obs

vector of observed labels


wtcooper/modUtils documentation built on May 4, 2019, 11:59 a.m.