1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ModelMetrics.R
\name{fScore}
\alias{fScore}
\title{F Score}
\usage{
fScore(actual, predicted, cutoff = 0.5, beta = 1)
}
\arguments{
\item{actual}{A vector of the labels}
\item{predicted}{A vector of predicted values}
\item{cutoff}{A cutoff for the predicted values}
\item{beta}{the desired beta value (lower increases weight of precision over recall). Defaults to 1}
}
\description{
Calculates the F score and allows different specifications of the beta value (F0.5)
}
|