fScore {ModelMetrics} | R Documentation |
F Score
Description
Calculates the F score and allows different specifications of the beta value (F0.5)
Usage
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 |
[Package ModelMetrics version 1.2.2.2 Index]