Posts

Showing posts from January, 2022

Why accuracy is not a best measure ??

Image
Classification accuracy alone is not considered a good measure. Why? Let’s take covid-19  data, predicting  as Positive (1) and ‘Negative(0)’ is said to be 100% accuracy in Classification problem. But, practically 100% accuracy or 0% error is impossible. rom  Confusion Matrix  we get more metrics to evaluate the model, True positives:  Target variable labeled as positive that are actually positive False positives:  Target variable labeled as positive that are actually negative True negatives:  Target variable labeled as negative that are actually negative False negatives:  Target variable labeled as negative that are actually positive Recall:  Recall in this context is defined as the number of true positives divided by the total number of elements that actually belong to the positive class (i.e. the sum of true positives and false negatives, which are items which were not labeled as belonging to the positive class but should have been). Preci...