Diabetes Prediction by Using Various Machine-Learning Algorithms
摘要
Diabetes is one of the top 10 causes of death worldwide. Machine learning models are the goal for healthcare providers in order to support diabetes prognoses, implement successful preventive strategies, and improve patient care. The goal of this study is to forecast diabetes utilizing machine learning techniques and pertinent health indicators. The dataset that was used includes data on blood pressure, body mass index (BMI), and glucose levels, among other things. To find the best model for this prediction problem, a number of classifiers, including Logistic Regression, Decision Tree, Random Forest, k-NN, SVM, and Naive Bayes, will be constructed and evaluated. The procedure entails preparing the data by standardizing it and selecting the most significant features by utilizing the ANOVA F-value. GridSearchCV is used for hyperparameter optimization, which maximizes the performance of each classifier. The efficacy of the classifiers in predicting diabetes is then assessed using confusion matrices, accuracy metrics, and classification reports. Based on the provided dataset, the study’s findings will shed light on which machine learning algorithms are most effective at predicting diabetes. By showcasing the use of machine learning in early disease identification, this study advances the area of healthcare analytics and raises the possibility of improving patient outcomes through prompt interventions.