Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can you recommend a package in R that can be used to count precision, recall and F1-score for multi class classification tasks [closed]

Is there any package that you would recommend which can be used to calculate the precision, F1, recall for multi class classification task in R. I tried to use ROCR but it states that:

ROCR currently supports only evaluation of binary classification tasks
like image 694
tanay Avatar asked Nov 11 '22 09:11

tanay


1 Answers

I know that you were looking for a solution in R. That said, this is a link to a nice solution library in Python, using scikit-learn version 0.14. Python is very similar to R in a lot of respects (if you haven't used it before), and this could be a good place to start.

Another place you might want to look, if you are focused on R, is the the PerfMeas package. As I quote, this "Package implements different performance measures for classification and ranking tasks. AUC, precision at a given recall, F-score for single and multiple classes are available."

like image 57
Nathaniel Payne Avatar answered Nov 15 '22 07:11

Nathaniel Payne