man/mcc.Rd
raw| 1 | % Generated by roxygen2: do not edit by hand |
| 2 | % Please edit documentation in R/ModelMetrics.R |
| 3 | \name{mcc} |
| 4 | \alias{mcc} |
| 5 | \title{Matthews Correlation Coefficient} |
| 6 | \usage{ |
| 7 | mcc(actual, predicted, cutoff) |
| 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 Matthews Correlation Coefficient |
| 18 | } |