Performance Evaluation of Hypocrite Classifier
Let’s learn how you can evaluate the performance of the Hypocrite Classifier.
Let’s see how the different hypocrite classifiers perform at the four metrics depending on the weight.
Metrics of the hypocrite classifier
l_precision = list(map(lambda step: precision_score(train_labels, l_predictions[step]),steps))
l_recall = list(map(lambda step: recall_score(train_labels, l_predictions[step]),steps))
l_specificity = list(map(lambda step: specificity(l_cm[step]),steps))
l_npv = list(map(lambda step: npv(l_cm[step]),steps))
In these four lines, we calculate the four metrics at each step. Let’s visualize them.
Get hands-on with 1200+ tech skills courses.