Learn R Programming

ModelMetrics (version 1.2.2.2)

mcc: Matthews Correlation Coefficient

Description

Calculates the Matthews Correlation Coefficient

Usage

mcc(actual, predicted, cutoff)

Arguments

actual

A vector of the labels

predicted

A vector of predicted values

cutoff

A cutoff for the predicted values