CRP and diabetes mellitus: This study utilised LR, RF and XGBoost models to build and validate a sarcopenia risk prediction tool for patients with stroke, incorporating seven variables: age, limb dysfunction, diabetes, tube feeding, BMI, NIHSS score and CRP.