Evaluate per class precision and recall in FastText

Viewed 1484

I am using Facebook Research FastText library for text classification following this tutorial. I have 2 labels for which i am performing the classification (2-class). The output of the prediction on test file shows the precision and recall for the same. How can i calculate per-class precision and recall for my test file?

1 Answers
Related