fScore: F Score

Description Usage Arguments

View source: R/ModelMetrics.R

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 July 6, 2021, 9:48 a.m.