The SVM model composed of BAK1, CHMP2B, NLRP6, PLCG1, and TIRAP exhibited the best performance in T2DM diagnosis, with AUC = 1. Here, BAK1 is linked to type 2 diabetes mellitus.