calculating confusion matrices to find the recall, precision

Hi I have 2 different matrices of varying sizes for T and d
T =
1 2 3 1
2 4 8 1
2 7 5 1
3 3 3 3
2 2 3 4
1 2 3 5
d =
2 3 4 5
1 3 4 5
4 3 4 5
4 8 9 1
I am trying to find the recall , precision and F score using Confusion matrices
Can anyone help me out with the right code for the computation
Thanks in advance
Tino

Answers (0)

Products

Release

R2019a

Asked:

on 2 May 2019

Commented:

on 2 May 2019

Community Treasure Hunt

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

Start Hunting!