<?xml version="1.0" encoding="UTF-8"?>
<article xmlns:xlink="http://www.w3.org/1999/xlink">
<front><article-meta>
<title-group><article-title>A Machine Learning Model for Multi-Level Classification of Diabetic Peripheral Neuropathy Using Clinical, Lifestyle, and Familial Factors</article-title></title-group>
<contrib-group>
<contrib contrib-type="author"><name><surname>Amouei</surname><given-names>Mohammad Hosein</given-names></name><xref ref-type="aff" rid="aff1"/></contrib>
<contrib contrib-type="author"><name><surname>Lotfi</surname><given-names>Mohammad Mehdi</given-names></name><xref ref-type="aff" rid="aff1"/></contrib>
<contrib contrib-type="author"><name><surname>Namiranian</surname><given-names>Nasim</given-names></name><xref ref-type="aff" rid="aff2"/></contrib>
<aff id="aff1">Department of Industrial Engineering, Yazd University, Yazd, Iran.</aff>
<aff id="aff2">Department of  Social Medicine, Faculty of Medicine, Shahid Sadoughi University of Medical Sciences, Yazd, Iran.</aff>
</contrib-group>
<abstract><p>This study aims to develop a robust Machine Learning (ML) framework for multi-level classification of Diabetic Peripheral Neuropathy (DPN) severity by integrating clinical indicators, lifestyle factors, and familial history in patients with type 2 diabetes. The dataset, collected from the Diabetes Research and Treatment Center, Shahid Sadoughi University of Medical Sciences, Yazd, Iran, underwent comprehensive preprocessing including normalization via MinMaxScaler and class rebalancing using the Synthetic Minority Over-sampling Technique (SMOTE). Several ML algorithms — Random Forest (RF), eXtreme Gradient Boosting (XGBoost), Light Gradient Boosting Machine (LightGBM), Support Vector Machine (SVM), Multilayer Perceptron (MLP), and Voting Classifier — were implemented and systematically compared. Among these, the RF model achieved the best performance with an accuracy of 86.1%, demonstrating superior stability and interpretability, closely followed by XGBoost. Feature engineering and the incorporation of clinically meaningful composite indices significantly enhanced model performance by capturing complex relationships among physiological and lifestyle variables. Model evaluation based on accuracy, sensitivity, specificity, F1-score, and ROC-AUC confirmed both predictive reliability and clinical applicability. To further enhance interpretability, SHapley Additive exPlanations (SHAP) analysis was conducted using the XGBoost framework due to its higher compatibility with gradient-based explanation methods. The SHAP results confirmed the consistency of feature importance observed in RF, revealing that lower Mean Reflex values, reduced vibration sensitivity (Tuning Fork Test), and higher Body Mass Index (BMI) were strongly associated with severe neuropathy levels. These findings highlight that combining predictive modeling with explainable Artificial Intelligence (AI) approaches can provide transparent, clinically interpretable insights — paving the way for intelligent, explainable decision-support systems in diabetic care.</p></abstract>
<kwd-group kwd-group-type="author"><kwd>Diabetes</kwd><kwd>Diabetic peripheral neuropathy</kwd><kwd>Machine learning</kwd><kwd>Clinical indicators</kwd><kwd>Lifestyle factors</kwd><kwd>Family history</kwd></kwd-group>
</article-meta></front>
<body>
<sec id="sec-1"><label>1</label><title>Introduction</title>
<p>Diabetic Peripheral Neuropathy (DPN) is one of the most prevalent and debilitating chronic complications of diabetes, significantly impairing patients’ quality of life. It results from progressive damage to peripheral nerves, manifesting as pain, numbness, tingling, and muscle weakness—symptoms that typically begin in the lower extremities. The condition is often asymptomatic in its early stages, making timely detection and intervention particularly challenging. With the global prevalence of diabetes continuing to rise, DPN has emerged as a major public health concern, contributing substantially to disability, hospitalization, and healthcare costs <xref ref-type="bibr" rid="ref-1">[1]</xref>.</p>
<p>Early and accurate assessment of DPN severity is therefore essential for preventing disease progression and improving long-term outcomes. However, traditional diagnostic methods such as clinical examinations, reflex testing, and electrophysiological assessments are often subjective, time-consuming, and limited in their ability to detect subclinical neuropathic changes <xref ref-type="bibr" rid="ref-2">[2]</xref>. These limitations underscore the urgent need for data-driven and automated approaches capable of capturing complex, non-linear relationships among diverse clinical and behavioral factors.</p>
<p>In this context, Machine Learning (ML) has emerged as a transformative tool in medical data analysis. ML algorithms can uncover hidden patterns in large, heterogeneous datasets, enabling more precise prediction, classification, and risk stratification compared to conventional statistical models <xref ref-type="bibr" rid="ref-3">[3]</xref>. Recent advances in supervised learning methods, particularly ensemble-based algorithms such as Random Forest (RF), eXtreme Gradient Boosting (XGBoost), and Light Gradient Boosting Machine (LightGBM), have demonstrated remarkable performance in diagnosing and predicting diabetes-related complications <xref ref-type="bibr" rid="ref-4">[4]</xref>.</p>
<p>Moreover, growing evidence suggests that combining clinical indicators (e.g., reflex tests, Body Mass Index (BMI)), lifestyle behaviors (e.g., physical activity, education), and familial risk factors can significantly improve predictive accuracy for DPN severity <xref ref-type="bibr" rid="ref-5">[5]</xref>. Yet, the optimal integration of these diverse data sources within an interpretable and clinically applicable framework remains an open research challenge.</p>
<p>The present study seeks to address this gap by developing and evaluating a multi-level classification framework for predicting DPN severity using a combination of clinical, lifestyle, and familial data. By systematically comparing multiple ML models namely RF, XGBoost, LightGBM, Support Vector Machine (SVM), Multilayer Perceptron (MLP), and Voting Classifier—this research aims to identify the most effective and generalizable algorithm for DPN classification. Furthermore, the study introduces feature engineering strategies to create composite indices that better represent the physiological and behavioral dimensions of diabetic neuropathy.</p>
<p>Ultimately, this study aims to contribute to the development of intelligent Clinical Decision Support Systems (CDSS) for early identification and monitoring of patients at risk for DPN, bridging the gap between data science and practical diabetes management.</p>
<sec id="sec-2"><label>1.1</label><title>Problem Statement and Motivation</title>
<p>DPN poses a major challenge in diabetes management, affecting a substantial proportion of individuals with long-standing diabetes. Although early detection can prevent irreversible nerve damage, current diagnostic approaches often fail to identify the disease during its subclinical or early symptomatic stages <xref ref-type="bibr" rid="ref-6">[6]</xref>. Traditional assessments rely heavily on subjective clinical judgment, which limits reproducibility and scalability across patient populations <xref ref-type="bibr" rid="ref-7">[7]</xref>.</p>
<p>ML offers a promising alternative by leveraging complex datasets encompassing clinical, physiological, lifestyle, and genetic dimensions. These algorithms can learn intricate, non-linear relationships and interactions that are beyond the reach of traditional regression-based analyses <xref ref-type="bibr" rid="ref-8">[8]</xref>. By incorporating diverse patient information—including reflex assessments, vibration tests, BMI, educational level, and family history—ML models can provide a more holistic and accurate prediction of DPN severity.</p>
<p>This research, therefore, investigates how ensemble-based ML algorithms (specifically RF and XGBoost) can improve the precision and robustness of DPN classification. The motivation stems from the need to translate data-driven insights into clinically interpretable models that can assist healthcare professionals in making timely, evidence-based decisions. Achieving this goal would mark a significant step toward early diagnosis, personalized intervention, and prevention of diabetic neuropathy and its associated complications.</p>
</sec>
</sec>
<sec id="sec-3"><label>2</label><title>Previous Studies on Machine Learning Approaches for Diabetic Peripheral Neuropathy</title>
<p>DPN is among the most prevalent and disabling complications of diabetes mellitus, affecting a substantial proportion of patients worldwide. It manifests through symptoms such as pain, numbness, muscle weakness, and sensory loss; in advanced stages, it may progress to foot ulcers and lower-limb amputations, imposing severe clinical and socioeconomic burdens. With the global rise in diabetes prevalence, the early identification, classification, and management of DPN have become critical priorities in diabetic care.</p>
<p>In recent years, ML techniques have gained growing attention for their potential to enhance diagnostic accuracy and support clinical decision-making in DPN management. These models can analyze complex medical datasets to uncover subtle, non-linear relationships between variables, enabling earlier and more precise detection of neuropathic complications.</p>
<p>For instance, Yu et al. <xref ref-type="bibr" rid="ref-9">[9]</xref> demonstrated that ML-based systems could accurately predict Diabetic Foot Ulcers (DFUs)—one of the most severe manifestations of DPN—thus supporting preventive interventions. Similarly, Haque et al. <xref ref-type="bibr" rid="ref-10">[10]</xref> reported that traditional ML algorithms such as SVM and RF markedly improved diagnostic precision compared to conventional statistical approaches, underscoring the practical value of ML models in clinical contexts.</p>
<sec id="sec-4"><label>2.1</label><title>Early Detection and Prediction of Diabetic Neuropathy</title>
<p>Accurate early prediction of DPN onset and progression remains a key challenge in diabetic care, as many patients remain asymptomatic until substantial nerve damage occurs. ML approaches have shown great promise in addressing this issue by integrating clinical, sensory, and biometric indicators to identify patients at risk before irreversible damage develops.</p>
<p>Ma et al. <xref ref-type="bibr" rid="ref-7">[7]</xref> conducted a systematic review of ML-based methods for DPN prediction and emphasized that incorporating biometric and clinical measurements—such as reflex tests, vibration assessments, and metabolic markers—significantly enhances model performance. Similarly, Sheikh et al. <xref ref-type="bibr" rid="ref-11">[11]</xref> utilized plantar pressure distribution data in combination with advanced ML algorithms to predict peripheral neuropathy with high accuracy, illustrating the value of integrating physiological signals with clinical data.</p>
<p>Collectively, these studies highlight the capability of ML techniques to detect neuropathic abnormalities earlier than traditional screening methods, enabling timely intervention and improved patient outcomes.</p>
</sec>
<sec id="sec-5"><label>2.2</label><title>Machine Learning for Predicting Diabetic Foot Ulcers</title>
<p>Predicting and preventing DFUs represents one of the most critical applications of ML in DPN management, as DFUs often lead to infection, hospitalization, and amputation. Ensemble and deep learning models have demonstrated particular strength in improving DFU prediction accuracy by processing high-dimensional and heterogeneous data.</p>
<p>Ma et al. <xref ref-type="bibr" rid="ref-12">[12]</xref> evaluated several ML algorithms—such as RF and SVM—for DFU classification and achieved notable improvements in diagnostic accuracy and computational efficiency. Their findings showed that ML-assisted diagnostic systems could reduce diagnostic time, facilitate early intervention, and improve treatment outcomes, particularly in high-risk diabetic populations.</p>
</sec>
<sec id="sec-6"><label>2.3</label><title>Existing Challenges and Research Gaps</title>
<p>Despite remarkable progress, several methodological and practical challenges persist in applying ML to DPN prediction and classification. A major limitation involves data quality and heterogeneity, especially in developing regions where access to comprehensive, high-quality medical data is limited. Incomplete or noisy data can reduce model reliability and generalizability, particularly in real-world healthcare settings.</p>
<p>Almutairi et al. <xref ref-type="bibr" rid="ref-13">[13]</xref> highlighted that data incompleteness and imbalance remain key barriers to implementing ML-based prediction systems in clinical practice. Moreover, many existing models focus solely on biochemical or demographic variables, overlooking the potential contribution of lifestyle and familial factors—two dimensions that are crucial for personalized prediction. The lack of multi-modal data integration and insufficient model interpretability also restrict their translation into routine clinical workflows.</p>
</sec>
<sec id="sec-7"><label>2.4</label><title>Recent Advances and Future Directions</title>
<p>Recent advances in ML and data science have opened new avenues for developing more comprehensive and interpretable DPN prediction models. Emerging approaches such as transfer learning and federated learning allow model training on decentralized datasets while addressing data privacy and scarcity concerns. These frameworks enhance model generalizability across institutions and patient populations.</p>
<p>Liu et al. <xref ref-type="bibr" rid="ref-1">[1]</xref> developed a hybrid model combining clinical and biometric data, achieving high predictive accuracy while maintaining interpretability. Similarly, multi-modal ML frameworks that integrate structured clinical data, imaging, and lifestyle indicators are gaining traction as promising solutions for personalized neuropathy prediction.</p>
<p>However, despite these advances, there remains a clear need for comprehensive, population-specific models that integrate clinical, lifestyle, and familial data within an interpretable ML framework. This study aims to contribute to this growing body of research by designing and validating such a model for multi-level classification of DPN severity.</p>
</sec>
</sec>
<sec id="sec-8"><label>3</label><title>Methodology</title>
<sec id="sec-9"><label>3.1</label><title>Dataset Description</title>
<p>This study used electronic medical records of 1,204 patients with type 2 diabetes, collected between 2019– 2022 at the Yazd Diabetes Research and Treatment Center, Shahid Sadoughi University of Medical Sciences, Iran. The initial dataset contained 70 variables encompassing clinical, neurological, metabolic, lifestyle, and familial factors related to DPN.</p>
<p>Data sources included:</p>
<p>I. Clinical features: BMI, blood pressure, and vascular assessments.</p>
<p>II. Neurological tests: achilles reflex, vibration perception (tuning fork), and muscle cramp sensation.</p>
<p>III. Lifestyle indicators: education, occupation, smoking, and alcohol use.</p>
<p>IV. Familial history: diabetes, neuropathy, and cardiovascular disease in first-degree relatives.</p>
<p>V. Neuropathy assessment: michigan Neuropathy Screening Instrument (MNSI), integrating symptom-based and physical examination scores.</p>
<p>The MNSI score was used as the target variable, categorized into four severity levels: 1) 0: No neuropathy, 2) 1: Mild, 3) 2: Moderate, and 4) 3: Severe.</p>
</sec>
<sec id="sec-10"><label>3.2</label><title>Data Preprocessing</title>
<p>To ensure data reliability, the following preprocessing steps were applied:</p>
<p>I. Missing data handling: records with &gt;20% missing values were excluded; remaining gaps were imputed (mean for numerical, mode for categorical).</p>
<p>II. Outlier removal: the Interquartile Range (IQR) method was applied.</p>
<p>III. Normalization: continuous features were scaled to the [0,1] range using MinMaxScaler.</p>
<p>IV. Class balancing: class imbalance was corrected using Synthetic Minority Over-sampling Technique (SMOTE) to ensure proportional representation across severity levels.</p>
<p>After preprocessing, a clean dataset of 1,204 complete samples was obtained for modeling.</p>
</sec>
<sec id="sec-11"><label>3.3</label><title>Feature Selection</title>
<p>Feature selection followed a structured three-phase process:</p>
<p>I. Initial reduction: variables with &gt;80% missing data were removed, reducing features from 70 to 20.</p>
<p>II. Feature importance analysis: ensemble algorithms (RF, XGBoost) were used to evaluate feature relevance via Gini impurity and information gain.</p>
<p>III. Final selection: based on cross-validation and clinical significance, 8 features were retained:</p>
<p>− Gender − Education level − Family history (diabetes/neuropathy) − BMI − Muscle cramp sensation − Tuning fork test − Left and Right Achilles reflexes</p>
</sec>
<sec id="sec-12"><label>3.4</label><title>Feature Engineering</title>
<p>Feature engineering was conducted to extract higher-level and interaction-based indicators. All potential composite and interaction features were generated and statistically evaluated. The following engineered features were retained:</p>
<p>I. Metabolic Risk Score (MRS): combines BMI, gender, and family history.</p>
<p>II. Reflex Symmetry Index (RSI): difference between left and right Achilles reflexes.</p>
<p>III. Sensory Composite Index (SCI): mean of tuning fork and reflex scores.</p>
<p>IV. MNSI composite score: integrated reflex and symptom metrics.</p>
<p>These engineered variables improved both model interpretability and predictive consistency.</p>
</sec>
<sec id="sec-13"><label>3.5</label><title>Model Development</title>
<p>Six algorithms were trained for comparison: RF, XGBoost, LightGBM, SVM, MLP, and a Voting Classifier (ensemble). Each model was trained using 5-fold cross-validation, with hyperparameters optimized through Grid Search CV.</p>
</sec>
<sec id="sec-14"><label>3.6</label><title>Model Evaluation</title>
<p>Models were assessed using multiple performance metrics: accuracy, sensitivity (Recall), specificity, F1-Score, and AUC-ROC. This evaluation ensured robust performance measurement across all neuropathy severity levels without overemphasizing specific model outcomes.</p>
</sec>
<sec id="sec-15"><label>3.7</label><title>Model Interpretability Analysis (Feature Importance and SHapley Additive exPlanations Analysis)</title>
<p>To enhance the interpretability of the predictive framework, two complementary techniques were applied. First, a Feature Importance analysis was conducted to quantify the relative contribution of each input variable to the model’s predictive accuracy. Second, the SHapley Additive exPlanations (SHAP) method was employed to determine both the magnitude and direction of each feature’s influence on the model’s output.</p>
<p>The SHAP analysis provided a more granular understanding of how individual clinical and lifestyle features affected neuropathy severity predictions.</p>
</sec>
</sec>
<sec id="sec-16"><label>4</label><title>Results and Discussion</title>
<sec id="sec-17"><label>4.1</label><title>Class Balancing Using Synthetic Minority Over-sampling Technique</title>
<p>Before applying SMOTE, the dataset exhibited a pronounced imbalance, with a higher prevalence of non-neuropathic cases. Following preprocessing (sorting, imputation, encoding, and outlier removal), SMOTE was implemented to generate synthetic samples for minority classes, achieving a balanced class distribution as shown in <xref ref-type="table" rid="tab1">Table 1</xref>.</p>
<table-wrap id="tab1"><label>Table 1</label><caption><p>Number of samples before and after applying SMOTE.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:5:66,511.3,537.1,606.7"/><p content-type="note">This table is shown in the PDF version of the article.</p></table-wrap>
<p>Balancing the dataset significantly improved the model’s ability to identify minority-class patterns and enhanced predictive fairness across severity levels. Post-balancing analysis highlighted that sensory and neurological variables—particularly the tuning fork test, reflexes, and BMI—were the most discriminative indicators of neuropathy progression.</p>
</sec>
<sec id="sec-18"><label>4.2</label><title>Feature Selection</title>
<p>The initial dataset contained over 70 attributes. Features with excessive missingness (&gt;80%) were removed, reducing the set to 20. Feature importance was then evaluated using RF and XGBoost algorithms, which provided embedded measures of variable relevance based on impurity reduction and information gain. Consistent results across both methods confirmed the reliability of selected predictors.</p>
</sec>
<sec id="sec-19"><label>4.3</label><title>Random Forest Feature Importance</title>
<p>BMI and neurological indices (reflexes, tuning fork) emerged as dominant predictors, aligning with clinical evidence linking metabolic dysfunction and neural impairment to DPN progression.</p>
<table-wrap id="tab2"><label>Table 2</label><caption><p>Feature importance (RF model).</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:5:66,171.8,537.1,308.5"/><p content-type="note">This table is shown in the PDF version of the article.</p></table-wrap>
<p>4.4|eXtreme Gradient Boosting Feature Importance</p>
<table-wrap id="tab3"><label>Table 3</label><caption><p>Feature importance (XGBoost model).</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:6:66,593.6,537.1,730.1"/><p content-type="note">This table is shown in the PDF version of the article.</p></table-wrap>
<p>XGBoost results were highly consistent with RF, confirming the stability of neurological and metabolic predictors in defining neuropathy severity.</p>
</sec>
<sec id="sec-20"><label>4.5</label><title>Final Selected Features</title>
<p>These eight features collectively captured the clinical, neurological, behavioral, and genetic dimensions of DPN progression.</p>
<table-wrap id="tab4"><label>Table 4</label><caption><p>Final selected features.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:6:66,371,537.1,508.9"/><p content-type="note">This table is shown in the PDF version of the article.</p></table-wrap>
</sec>
<sec id="sec-21"><label>4.6</label><title>Feature Engineering and Composite Indices</title>
<p>All composite (engineered) features were initially designed and tested. After evaluation through correlation (Pearson, Spearman), ANOVA, and feature importance analysis, four were selected for the final model.</p>
<table-wrap id="tab5"><label>Table 5</label><caption><p>Final composite features.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:6:66,127.6,537.1,253.3"/><p content-type="note">This table is shown in the PDF version of the article.</p></table-wrap>
<p>These engineered indicators enhanced model accuracy from ~65% to over 86%, demonstrating their value in representing multi-domain pathophysiological interactions.</p>
</sec>
<sec id="sec-22"><label>4.7</label><title>Model Execution and Results</title>
<p>The dataset was split into 80% for training and 20% for testing to ensure a reliable generalization capability. For final evaluation, 5-fold cross-validation was used — training the model on four folds and testing on the remaining one, repeated five times, with average results reported for robustness.</p>
<p>The study evaluated several ML algorithms, including RF, XGBoost, LightGBM, SVM, MLP, and Voting Classifier, using Accuracy, Sensitivity, Specificity, F1-Score, and ROC-AUC as metrics.</p>
<table-wrap id="tab6"><label>Table 6</label><caption><p>Final model comparison based on 5-fold cross-validation.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:7:66,538.4,537.1,649.6"/><p content-type="note">This table is shown in the PDF version of the article.</p></table-wrap>
</sec>
<sec id="sec-23"><label>4.8</label><title>Model Comparison and Selection of the Optimal Model</title>
<p>I. RF achieved the highest accuracy (0.861) and F1-score (0.861), along with excellent sensitivity (0.859) and specificity (0.864).</p>
<p>II. XGBoost performed comparably (ROC-AUC = 0.845), maintaining strong balance across metrics. III. LightGBM achieved the highest ROC-AUC (0.846), showing great discrimination capability.</p>
<p>IV. SVM and MLP showed moderate but consistent results, with non-linear adaptability in MLP reflected in ROC-AUC (0.843).</p>
<p>V. Voting Classifier integrated multiple model strengths with ROC-AUC of 0.845, though slightly lower overall accuracy (0.821).</p>
<p>Based on the comparative results presented in <xref ref-type="table" rid="tab6">Table 6</xref>, the RF model demonstrated the strongest overall predictive performance and was therefore selected as the final classification model. Feature importance analysis was subsequently conducted using the RF model to identify the most influential variables contributing to the classification task.</p>
<p>To further enhance model interpretability, SHAP analysis was additionally performed using the XGBoost model, as it provides a stable and well-established framework for SHAP-based explanations. The SHAP findings were consistent with the feature importance patterns obtained from the RF model and were used as a complementary interpretability approach, rather than to redefine the final predictive model.</p>
</sec>
<sec id="sec-24"><label>4.9</label><title>Feature Importance and SHapley Additive exPlanations–Based Model Interpretation</title>
<p>RF and XGBoost models consistently identified BMI, tuning fork (vibration) test, and Mean Reflex as the most influential predictors of DPN severity. In the RF model, BMI exhibited the highest feature importance, followed by the tuning fork test and composite sensory indices, emphasizing the combined contribution of metabolic status and clinical–sensory measurements.</p>
<fig id="fig1"><label>Figure 1</label><caption><p>Feature importance and SHAP results showing BMI, tuning fork test, and mean reflex as the main predictors of DPN severity; a. feature importance – RF, and b. SHAP summary plot.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:8:66,326.3,537.1,732.1"/><p content-type="note">This figure is shown in the PDF version of the article.</p></fig>
<p>To investigate the contribution and direction of each feature, SHAP were applied; due to variability in RF SHAP values, the main interpretability analysis was conducted using XGBoost. SHAP results showed that lower Mean Reflex values were strongly associated with higher neuropathy severity, the tuning fork test effectively distinguished mild from severe cases, and higher BMI was directly associated with increased risk of severe DPN.</p>
<p>Additional composite indices (Neuro Index and Sensory Index) demonstrated clinically consistent effects, whereas demographic variables had minimal influence. The agreement between SHAP findings and RF feature importance confirms the robustness, interpretability, and clinical coherence of the proposed models.</p>
</sec>
<sec id="sec-25"><label>4.10</label><title>Comparison with Previous Studies and Study Strengths/Limitations</title>
<p>In recent years, several studies have applied ML techniques to predict DPN or related diabetic complications. For instance, a recent systematic review reported that most ML-based DPN prediction models rely primarily on clinical and biochemical parameters <xref ref-type="bibr" rid="ref-7">[7]</xref>. Another study employed ML models to predict Diabetic Sensorimotor Polyneuropathy (DSPN) and concluded that algorithms such as RF perform effectively, particularly when electrophysiological or biochemical features are incorporated <xref ref-type="bibr" rid="ref-14">[14]</xref>. Moreover, a recent risk-prediction model based on laboratory and clinical data demonstrated the feasibility of ML-based approaches for DPN prediction in real-world clinical settings <xref ref-type="bibr" rid="ref-3">[3]</xref>.</p>
<p>Compared with these earlier works, the present study introduces two key methodological improvements. First, a wider and more diverse feature set was utilized. While many previous studies focused mainly on biochemical markers (e.g., HbA₁c, serum glucose) or standard clinical and demographic risk factors, our model integrates neurological examination outcomes (reflex measurements and tuning-fork vibration test), anthropometric data (BMI), lifestyle and demographic variables (education and gender), and family history. Feature-importance analysis using RF and SHAP-based interpretability revealed that neurological and metabolic indicators—particularly Mean Reflex, vibration perception, and BMI—play a dominant role in predicting DPN severity, underscoring the clinical relevance of the selected features.</p>
<p>Second, a multi-level severity classification strategy was adopted. Instead of a binary classification (presence vs. absence of neuropathy), patients were categorized into multiple severity levels (none, mild, moderate, and severe). SHAP analysis further supported this approach by demonstrating how key features contribute differently across severity levels, providing more clinically actionable insights and better reflecting the progressive nature of DPN.</p>
<p>These methodological enhancements likely explain the improved predictive performance of the proposed model (Accuracy = 0.861, AUC = 0.855) and the consistent identification of neurological, metabolic, and demographic variables as jointly significant predictors.</p>
</sec>
</sec>
<sec id="sec-26"><label>5</label><title>Conclusion</title>
<p>This study developed and validated a multi-level ML model for classifying the severity of DPN using a rich integration of clinical, neurological, metabolic, lifestyle, and familial indicators. Through comprehensive preprocessing, feature engineering, and ensemble-based selection, the RF model demonstrated the best overall predictive performance (Accuracy = 0.861, AUC = 0.855).</p>
<p>To enhance interpretability and clinical transparency, SHAP analysis was conducted using the XGBoost framework, which provides superior compatibility with gradient-based TreeExplainer methods . The SHAP findings confirmed that lower Mean Reflex values, reduced vibration sensitivity, and higher BMI were strongly associated with more severe neuropathy levels. Composite indices such as the Sensory Index and Neuro Index also exhibited consistent, clinically meaningful effects, while demographic factors like gender and education showed minimal influence. The close alignment between SHAP and RF feature importance validates the robustness of the selected predictors and underscores the potential of combining interpretability with predictive accuracy in AI-based clinical tools.</p>
<p>In summary, integrating interpretable ML with domain-informed feature engineering enables both accurate and explainable prediction of neuropathy severity. These insights pave the way for developing CDSS that can assist healthcare professionals in early detection, risk stratification, and personalized intervention for diabetic patients.</p>
<p>Future research should focus on validating this model across multi-center datasets, incorporating biochemical and genetic markers, and exploring deep learning architectures to further enhance model adaptability and real-world clinical utility.</p>
</sec>
<sec id="sec-27"><title>Acknowledgment</title>
<p>The authors sincerely thank the Diabetes Research and Treatment Center of Shahid Sadoughi University of Medical Sciences, Yazd, for providing the clinical data used in this study. Their support and collaboration made the completion of this research possible.</p>
</sec>
</body>
<back><ref-list><title>References</title>
<ref id="ref-1"><label>1</label><mixed-citation>Liu, L., Bi, B., Gui, M., Zhang, L., Ju, F., Wang, X., &amp; Cao, L. (2025). Development and internal validation of an interpretable risk prediction model for diabetic peripheral neuropathy in type 2 diabetes: A single-centre retrospective cohort study in China. British medical journal open, 15(4), e092463. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1136/bmjopen-2024-092463">https://doi.org/10.1136/bmjopen-2024-092463</ext-link></mixed-citation></ref>
<ref id="ref-2"><label>2</label><mixed-citation>Sun, M., Sun, X., Wang, F., &amp; Liu, L. (2025). Machine learning-based prediction of diabetic peripheral neuropathy: Model development and clinical validation. Frontiers in endocrinology, 16, 1614657. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3389/fendo.2025.1614657">https://doi.org/10.3389/fendo.2025.1614657</ext-link></mixed-citation></ref>
<ref id="ref-3"><label>3</label><mixed-citation>Lian, X., Qi, J., Yuan, M., Li, X., Wang, M., Li, G., ... &amp; Zhong, J. (2023). Study on risk factors of diabetic peripheral neuropathy and establishment of a prediction model by machine learning. BMC medical informatics and decision making, 23(1), 146. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1186/s12911-023-02232-1">https://doi.org/10.1186/s12911-023-02232-1</ext-link></mixed-citation></ref>
<ref id="ref-4"><label>4</label><mixed-citation>Basebaa, A. S., Musiaan, N. S., &amp; Mahross, A. H. (2024). Prevalence and risk factors of diabetic peripheral neuropathy: A cross-sectional study from Yemen. Ain shams medical journal, 75(1), 201-213. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.21608/asmj.2024.237487.1171">https://doi.org/10.21608/asmj.2024.237487.1171</ext-link></mixed-citation></ref>
<ref id="ref-5"><label>5</label><mixed-citation>Wu, R. L., Chen, N., Chen, Y., Wu, X., Ko, C. Y., &amp; Chen, X. Y. (2024). Visceral adiposity as an independent risk factor for diabetic peripheral neuropathy in type 2 diabetes mellitus: A retrospective study. Journal of diabetes research, 2024(1), 9912907. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1155/2024/9912907">https://doi.org/10.1155/2024/9912907</ext-link></mixed-citation></ref>
<ref id="ref-6"><label>6</label><mixed-citation>Wei, Z., Wang, X., Lu, L., Li, S., Long, W., Zhang, L., &amp; Shen, S. (2024). Construction of an early risk prediction model for type 2 diabetic peripheral neuropathy based on random forest. CIN: Computers, informatics, nursing, 42(9), 665-674. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1097/cin.0000000000001157">https://doi.org/10.1097/cin.0000000000001157</ext-link></mixed-citation></ref>
<ref id="ref-7"><label>7</label><mixed-citation>Ma, Y., Wang, Z., Yao, Z., Lu, B., &amp; He, Y. (2025). Machine learning in the prediction of diabetic peripheral neuropathy: A systematic review. BMC medical informatics and decision making, 25(1), 344. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1186/s12911-025-03201-6">https://doi.org/10.1186/s12911-025-03201-6</ext-link></mixed-citation></ref>
<ref id="ref-8"><label>8</label><mixed-citation>Jian, Y., Pasquier, M., Sagahyroon, A., &amp; Aloul, F. (2021). A machine learning approach to predicting diabetes complications. Healthcare, 9(12), 1712. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3390/healthcare9121712">https://doi.org/10.3390/healthcare9121712</ext-link></mixed-citation></ref>
<ref id="ref-9"><label>9</label><mixed-citation>Yu, X., Wu, Z., &amp; Zhang, N. (2024). Machine learning-driven discovery of novel therapeutic targets in diabetic foot ulcers. Molecular medicine, 30(1), 215. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1186/s10020-024-00955-z">https://doi.org/10.1186/s10020-024-00955-z</ext-link></mixed-citation></ref>
<ref id="ref-10"><label>10</label><mixed-citation>Haque, F., Bin Ibne Reaz, M., Chowdhury, M. E. H., Srivastava, G., Hamid Md Ali, S., Bakar, A. A. A., &amp; Bhuiyan, M. A. S. (2021). Performance analysis of conventional machine learning algorithms for diabetic sensorimotor polyneuropathy severity classification. Diagnostics, 11(5), 801. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3390/diagnostics11050801">https://doi.org/10.3390/diagnostics11050801</ext-link></mixed-citation></ref>
<ref id="ref-11"><label>11</label><mixed-citation>Sheikh, M. M., Balachandra, M., VG, N., &amp; Maiya, A. G. (2025). Predicting diabetic peripheral neuropathy through advanced plantar pressure analysis: A machine learning approach. Scientific reports, 15(1), 20962. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1038/s41598-025-07774-0">https://doi.org/10.1038/s41598-025-07774-0</ext-link></mixed-citation></ref>
<ref id="ref-12"><label>12</label><mixed-citation>Gao, L., Liu, Z., Han, S., &amp; Wang, J. (2025). A machine-learning-based clinical decision model for predicting amputation risk in patients with diabetic foot ulcers: Diagnostic performance and practical implications. Diagnostics, 15(24), 3142. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3390/diagnostics15243142">https://doi.org/10.3390/diagnostics15243142</ext-link></mixed-citation></ref>
<ref id="ref-13"><label>13</label><mixed-citation>Almutairi, E., Abbod, M., &amp; Hunaiti, Z. (2025). Prediction of diabetes using statistical and machine learning modelling techniques. Algorithms, 18(3), 145. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3390/a18030145">https://doi.org/10.3390/a18030145</ext-link></mixed-citation></ref>
<ref id="ref-14"><label>14</label><mixed-citation>Shin, D. Y., Lee, B., Yoo, W. S., Park, J. W., &amp; Hyun, J. K. (2021). Prediction of diabetic sensorimotor polyneuropathy using machine learning techniques. Journal of clinical medicine, 10(19), 4576. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3390/jcm10194576">https://doi.org/10.3390/jcm10194576</ext-link></mixed-citation></ref>
</ref-list></back>
</article>