Fig. 1

The LightGBM model was constructed using the 78 handwriting variables from task 7. Variable importance was subsequently calculated using the SHAP method, with class 0 representing the control group and class 1 representing the patient group. The results demonstrated that the three most influential indicators on the model outcomes were task 7 speed discrete coefficient, task 7 pressure min, and task 7 angle X Std