facebookresearch / fastText

Library for fast text representation and classification.
https://fasttext.cc/
MIT License
25.89k stars 4.71k forks source link

Add Matthew's Correlation Coefficient as an eval metric #1303

Open lukaszdz opened 1 year ago

lukaszdz commented 1 year ago

I would like to implement this and expose it in the Python API: https://bmcgenomics.biomedcentral.com/articles/10.1186/s12864-019-6413-7

cc @EdouardGrave, guessing I could pretty much follow your work here?: https://github.com/facebookresearch/fastText/commit/2cc7f54ac034ae320a9af784b8145c50cc68965c