ben519 / mltools

Exploratory and diagnostic machine learning tools for R
Other
72 stars 26 forks source link

Add support for multiclass MCC #15

Closed ben519 closed 6 years ago

ben519 commented 6 years ago

See http://journals.plos.org/plosone/article?id=10.1371/journal.pone.0041882

as well as

https://en.wikipedia.org/wiki/Matthews_correlation_coefficient#Multiclass_case

BEFH commented 6 years ago

Looks good to me. I assume I should just install the development version and test the function? I have condensed the 3x3 matrix into a 2x2 and performed the two-class test (my implementation was practically identical), so hopefully the results with the 3x3 will be similar.

ben519 commented 6 years ago

Yes, you can just install the latest dev version and test that.