evaluatePredictionAccuracy: Compute the accuracy comparing a set of truth values and...

Description Usage Arguments

Description

Compare a vector of truth classes and prediction classes. The function is actually generic. It works for +1/-1/0 classes, by any other labels work as well.

Usage

1
evaluatePredictionAccuracy(truth, prediction)

Arguments

truth

- a vector holding true labels

prediction

- a vector holding labels output by some prediction method


tkonopka/Rthresholdout documentation built on May 31, 2019, 3:47 p.m.