Question

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?

Était-ce utile?

La 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.

Autres conseils

I fully agree with what @Sicco wrote.

Also, I would recommend watching this video, it's from Machine Learning course at Coursera. From the video: in some cases you can manipulate precision and recall by changing threshold. If you're not sure what's more important for you just stick to F1.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top