acc: Accuracy

Description Usage Arguments Value Author(s) See Also

Description

Accuracy

Usage

1
2
3
mtr_accuracy(actual, predicted, cutoff = 0.5)

mtr_ccr(actual, predicted, cutoff = 0.5)

Arguments

actual

[numeric] Ground truth binary numeric vector containing 1 for the positive class and 0 for the negative class.

predicted

[numeric] A vector of estimated probabilities.

cutoff

[numeric] A cutoff value for predicted vector which classify a sample into a given class. Default value is 0.5

Value

A numeric scalar output

Author(s)

An Chu

See Also

mtr_balanced_accuracy


chuvanan/metrics documentation built on Nov. 4, 2019, 8:52 a.m.