How to calculate recall and Precision

1 次查看(过去 30 天)
Hi,
I've a data set of 101 records with 21 classes. First of all I want to generate separately 21 confusion matrix for those 21 classes and then want to calculate recall and precision for this data. Please guide me that how can I write a do it in Matlab.
Thank you.
  4 个评论
OYENIRAN OLUWASHINA
Thank you so much for the snippet, it really aid my work. Is there any way to calculate recall and precision for each class?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by