| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/ModelMetrics.R |
| 3 |
\name{fScore} |
| 4 |
\alias{fScore} |
| 5 |
\title{F Score} |
| 6 |
\usage{ |
| 7 |
fScore(actual, predicted, cutoff = 0.5, beta = 1) |
| 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 |
\item{beta}{the desired beta value (lower increases weight of precision over recall). Defaults to 1} |
| 17 |
} |
| 18 |
\description{ |
| 19 |
Calculates the F score and allows different specifications of the beta value (F0.5) |
| 20 |
} |