f1Score {ModelMetrics}R Documentation

F1 Score

Description

Calculates the f1 score

Usage

f1Score(actual, predicted, cutoff = 0.5)

Arguments

actual

A vector of the labels

predicted

A vector of predicted values

cutoff

A cutoff for the predicted values


[Package ModelMetrics version 1.2.2.2 Index]