Search code examples
machine-learningclassificationdocument-classificationprecision-recall

precision or recall speaks loud?


Say I'm evaluating some text classification research project using two approaches 'A' and 'B'. When using approach 'A', I get a x% increase in precision while with 'B', a x% increase in recall. How can I say A or B approach better?


Solution

  • It depends on your goal. If you need the first couple of returned classes to be correct then you should go for precision, if you want to focus on returning all relevant classes then try to increase recall.

    If precision and recall both matter to you then an often used measure is the F1 score which combines precision and recall into a single measure.