---
title: "Comment by Kartik N V J K on \"Why 88% Accuracy Wasn’t Good Enough: Building an End-to-End Machine Learning Pipeline for 30-Day Diabetes Readmission Prediction\" | Hashnode"
description: "The Dummy Classifier scoring 88.66% accuracy with zero recall shows the accuracy trap in one row. After rebalancing I check calibration before picking a cutoff,"
url: "https://hashnode.com/posts/why-88-percent-accuracy-wasnt-good-enough-diabetes-readmission/6ac449437351aaee0d33bbe3/comment/6ac54dbb9505d828f19fcb31"
---

[Discussion](https://hashnode.com/posts/why-88-percent-accuracy-wasnt-good-enough-diabetes-readmission/6ac449437351aaee0d33bbe3)

Comment [Why 88% Accuracy Wasn’t Good Enough: Building an End-to-End Machine Learning Pipeline for 30-Day Diabetes Readmission Prediction](https://hashnode.com/posts/why-88-percent-accuracy-wasnt-good-enough-diabetes-readmission/6ac449437351aaee0d33bbe3)

[Kartik N V J K](https://hashnode.com/@kartik-nvj)

[Oct 6](https://hashnode.com/posts/why-88-percent-accuracy-wasnt-good-enough-diabetes-readmission/6ac449437351aaee0d33bbe3/comment/6ac54dbb9505d828f19fcb31)

The Dummy Classifier scoring 88.66% accuracy with zero recall shows the accuracy trap in one row. After rebalancing I check calibration before picking a cutoff, since the probabilities stop matching the 11% base rate. Did you sweep the decision threshold on a validation split?

[Sayan Khan](https://hashnode.com/@sayan313)

[Oct 6](https://hashnode.com/posts/why-88-percent-accuracy-wasnt-good-enough-diabetes-readmission/6ac449437351aaee0d33bbe3/comment/6ac54dbb9505d828f19fcb31#reply-6ac583c78b956286cbb02f15)

Thanks for the suggestion — that’s a really useful point. I didn’t do an explicit threshold sweep in this iteration. I focused on stratified validation, training-only undersampling, and comparing tuned models using recall, F1 and ROC-AUC. Your point about calibration after rebalancing is important, and threshold tuning on a validation set would be a strong next step. My background is mainly in full-stack development, so this project pushed me into ML and taught me a lot about imbalance, evaluation, tuning and model validation.
