mcc_calculation calculate the MCC score given the truth and predicted target.

mcc_calculation(
  result_with_truth,
  is_multi = TRUE,
  return_all_intermediate = FALSE
)

Arguments

result_with_truth

the dataframe containing the truth and predicted target

is_multi

Whether to use MCC-multi or MCC

return_all_intermediate

whether to return all intermediate values, only possible for binary class

Value

Will return the mcc score