man/f1Score.Rd
raw| 1 | % Generated by roxygen2: do not edit by hand |
| 2 | % Please edit documentation in R/ModelMetrics.R |
| 3 | \name{f1Score} |
| 4 | \alias{f1Score} |
| 5 | \title{F1 Score} |
| 6 | \usage{ |
| 7 | f1Score(actual, predicted, cutoff = 0.5) |
| 8 | } |
| 9 | \arguments{ |
| 10 | \item{actual}{A vector of the labels} |
| 11 | |
| 12 | \item{predicted}{A vector of predicted values} |
| 13 | |
| 14 | \item{cutoff}{A cutoff for the predicted values} |
| 15 | } |
| 16 | \description{ |
| 17 | Calculates the f1 score |
| 18 | } |