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

Description Usage Arguments

View source: R/modelEval.r

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 28, 2017, 6:35 a.m.