evCMetrics: Function for CM metrics calculation

Description Usage Arguments Details Examples

Description

This function calculates a number of specified metrics (precision, recall, and f1-score) for a given confusion matrix. R^2 count is also calculated.

Usage

1
2
evCMetrics(CM, cat.names = vector(mode = "character", length = 0),
  s.expname = "")

Arguments

CM

a confusion matrix.

cat.names

a vector of category names (optional).

s.expname

character string giving the name of experiment (optional).

Details

Important! The confusion matrix should have no missing rows or columns and should be square!

Examples

1
evCMetrics(myCM)

evgilenko/evStudy documentation built on May 12, 2019, 5:45 a.m.