Logistic regression
Highest overall test accuracy (0.696), but severe-class recall was 0.333. Severe precision / recall / F1: 0.529 / 0.333 / 0.409.
DA 622 Course Project · Completed January–May 2026
Predicting Heart Disease Severity: A Machine Learning Analysis of the UCI Heart Disease Dataset
A model can look strong in aggregate while performing poorly on the class of greatest interest. This project focuses on the tension between finding more severe cases and avoiding too many incorrect severe-case flags.
Model comparison
Highest overall test accuracy (0.696), but severe-class recall was 0.333. Severe precision / recall / F1: 0.529 / 0.333 / 0.409.
Highest severe-class F1 in this comparison. Severe precision / recall / F1: 0.375 / 0.667 / 0.480.
Highest severe-class recall, with the lowest severe precision. Severe precision / recall / F1: 0.339 / 0.741 / 0.465.
Evaluation design
The comparison reads class-specific performance alongside aggregate results so the severe class does not disappear inside a majority-class average.
Higher recall means fewer severe cases were missed.
Higher precision means fewer non-severe cases were incorrectly flagged as severe.
The project does not answer this with a universal winner; it exposes the choice.
My contribution
The course project covers data preparation, class-imbalance handling, training the three compared approaches, and reading the resulting class-specific tradeoffs.
Interpretation
If missed severe cases dominate the decision, recall deserves more weight. If incorrect severe flags carry a high cost, precision becomes more important. The analysis is strongest when that choice is stated plainly.
Repository & report
This project demonstrates model comparison under class imbalance. It is not presented as clinical research, clinical validation, or a patient-care system.
Related research direction. The comparison contributes to my broader interest in careful model evaluation and explainable health-data analysis.