Analysis demonstrates improved diabetes prediction accuracy using machine learning models, highlighting feature importance.
Due to the increasing number of diabetic patients in recent years and the inadequacy of traditional diabetes prediction methods, machine learning models with many advantages should be used to predict diabetes. The study selects the data from data set which is on the Kaggle and analyzes them through four models which are used to predict diabetes. The four models are logistic regression, k-nearest neighbor, decision tree and random forest. The optimal model is derived from comparing the prediction accuracy of these four models for diabetes. Based on the optimal model, important features for predicting diabetes are analyzed. Through the above methods, the findings of this study indicate that the random forest model is the most effective, achieving an accuracy rate of 79.870%. At the same time, the results show that the decision tree model has the worst prediction effect on diabetes, with an accuracy of 72.727%. On the basis of random forest as the optimal model, this study finds that glucose, Body Mass Index (BMI) and age are the top three influencing factors, respectively.
No takes yet. Share an insight, caveat, or question.
Jianbo Ye (2025) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: