I have a predictive model as follows
Sample1 | Sample2 | Sample3 | Sample4 | Red | Yellow | Blue | Green | White | Black | Orange |
---|---|---|---|---|---|---|---|---|---|---|
65 | 21 | 55 | 40 | 0 | 0 | 1 | 0 | 1 | 0 | 0 |
31 | 40 | 44 | 30 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
33 | 44 | 56 | 66 | 1 | 0 | 0 | 1 | 0 | 0 | 1 |
63 | 77 | 57 | 43 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
33 | 26 | 54 | 45 | 1 | 1 | 0 | 1 | 0 | 0 | 0 |
84 | 23 | 44 | 43 | 0 | 0 | 1 | 0 | 0 | 1 | 1 |
24 | 31 | 56 | 30 | 0 | 1 | 0 | 1 | 0 | 0 | 0 |
Where the colours are the targeted values
I found that Recall score for :
Reds only was 70%
Yellows only was 50%
Greens only was 80%
Whites only was 60%
Blacks only was 70%
Orange only was 80%
I found that Precision for :
Reds only was 60%
Yellows only was 40%
Greens only was 70%
Whites only was 50%
Blacks only was 60%
Orange only was 90%
I found that F1 for :
Reds only was 65%
Yellows only was 45%
Greens only was 75%
Whites only was 55%
Blacks only was 65%
Orange only was 85%
How can I find Recall, Precision, and F1 score for all colours?