mtr_f1score: F1 Score

Description Usage Arguments Value Author(s) See Also

View source: R/conf-mat.r

Description

F1 Score

Usage

1
mtr_f1score(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_fbeta_score


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