Clear Filters
Clear Filters

How to calculate recall and Precision

7 views (last 30 days)
Muhammad
Muhammad on 29 Dec 2015
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 Comments
OYENIRAN OLUWASHINA
OYENIRAN OLUWASHINA on 26 Feb 2021
Thank you so much for the snippet, it really aid my work. Is there any way to calculate recall and precision for each class?

Sign in to comment.

Answers (0)

Categories

Find more on Numeric Types in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!