Medical Risk Classifier : Heart Disease Risk Prediction Using Regularized Logistic Regression
Authors/Creators
- 1. Greater Noida Institute of Technology (Engg. Institute)
Description
Heart disease is one of the major health problems affecting people across the world. Identifying the possibility of heart disease at an early stage can help in taking timely medical advice and reducing potential risks. However, analysing different health-related factors manually can sometimes be difficult and may lead to errors. To address this problem, this project introduces a Medical Risk Classifier, a machine learning-based system designed to predict the risk of heart disease using basic clinical information.
The system uses the UCI Heart Disease (Cleveland) dataset, which contains patient details such as age, blood pressure, cholesterol level, chest pain type, maximum heart rate and other medical attributes. The collected data is cleaned and prepared before applying a regularized Logistic Regression algorithm to classify the possibility of heart disease. L2 regularization is used to reduce overfitting and improve the stability of the model. The system is evaluated using stratified 5-fold cross-validation, along with performance measures such as precision, recall, F1-score, ROC-AUC and confusion matrix.
A key focus of this project is to improve the model's ability to identify patients who may have heart disease rather than depending only on overall accuracy. For this reason, the decision threshold is adjusted to give greater importance to recall and reduce the chances of missing positive cases. The project also examines the contribution of different clinical features to the model's predictions.
Overall, the Medical Risk Classifier demonstrates how machine learning can be used to analyse medical data and support preliminary heart disease risk assessment through a simple and interpretable approach. It is developed for academic and experimental purposes and is not intended to replace professional medical diagnosis.
Files
Medical_Risk_Classifier_Revised.pdf
Additional details
References
- • R. Detrano et al., "International application of a new probability algorithm for the diagnosis of coronary artery disease," Am. J. Cardiol., vol. 64, no. 5, pp. 304–310, 1989. • D. Dua and C. Graff, "UCI Machine Learning Repository," University of California, Irvine, School of Information and Computer Sciences, 2019. • P. W. F. Wilson, R. B. D'Agostino, D. Levy, A. M. Belanger, H. Silbershatz, and W. B. Kannel, "Prediction of coronary heart disease using risk factor categories," Circulation, vol. 97, no. 18, pp. 1837–1847, 1998. • D. W. Hosmer, S. Lemeshow, and R. X. Sturdivant, Applied Logistic Regression, 3rd ed. Hoboken, NJ, USA: Wiley, 2013. • A. E. Hoerl and R. W. Kennard, "Ridge regression: Biased estimation for nonorthogonal problems," Technometrics, vol. 12, no. 1, pp. 55–67, 1970. • T. Hastie, R. Tibshirani, and J. Friedman, The Elements of Statistical Learning, 2nd ed. New York, NY, USA: Springer, 2009. • T. Fawcett, "An introduction to ROC analysis," Pattern Recognit. Lett., vol. 27, no. 8, pp. 861–874, 2006. • T. Saito and M. Rehmsmeier, "The precision-recall plot is more informative than the ROC plot when evaluating binary classifiers on imbalanced datasets," PLoS ONE, vol. 10, no. 3, Art. no. e0118432, 2015. • F. Pedregosa et al., "Scikit-learn: Machine learning in Python," J. Mach. Learn. Res., vol. 12, pp. 2825–2830, 2011.