f1Score: F1 Score

Description Usage Arguments

View source: R/ModelMetrics.R

Description

Calculates the f1 score

Usage

1
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


JackStat/ModelMetrics documentation built on Nov. 7, 2018, 5:19 a.m.