EducationalTestingService / skll

SciKit-Learn Laboratory (SKLL) makes it easy to run machine learning experiments.
http://skll.readthedocs.org
Other
550 stars 69 forks source link

add _macro, _micro and _weighted variants of precision and recall #589

Closed aoifecahill closed 4 years ago

aoifecahill commented 4 years ago

Currently, we allow for all variants of the f1 metric in metrics.py, but we do not do the same for precision and recall.

This means that we cannot tune on precision/recall in a multi-class classification task (since the default binary variants are invalid).

desilinguist commented 4 years ago

This was addressed by #612.