The goal is to evaluate three classifiers intending toidentify gender (male/female) given the height and weight. Theevaluation is to be based on the following dataset:
Gender | Height (cm) | Weight (kg) |
Male | 148 | 60 |
Male | 149 | 66 |
Female | 150 | 60 |
Male | 151 | 62 |
Male | 161 | 72 |
The three classifiers to be evaluatedare:
C1: Anyone with height over 150cm is male; all others arefemale
C2: Everyone is male
C3: Classify using a 1-nearest neighbor classifier trained on thefollowing dataset:
Male | 149 | 61 |
Female | 149 | 61 |
Male | 153 | 70 |
Calculate the following metrics for theclassifiers:
-Accuracy
-Error rate
-Precision of identifying males
-Recall of identifying males
-F1-score of identifying males
Complete the following table with youranswers.
| Accuracy | Error Rate | Precision | Recall | F1-Score |
C1 | | | | | |
C2 | | | | | |
C3 | | | | | |