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


ModelMetrics documentation built on March 26, 2020, 7:48 p.m.