fScore: F Score

Description Usage Arguments

Description

Calculates the F score and allows different specifications of the beta value (F0.5)

Usage

1
fScore(actual, predicted, cutoff = 0.5, beta = 1)

Arguments

actual

A vector of the labels

predicted

A vector of predicted values

cutoff

A cutoff for the predicted values

beta

the desired beta value (lower increases weight of precision over recall). Defaults to 1


JackStat/ModelMetrics documentation built on May 7, 2019, 10:17 a.m.