The hub genes identified by GBM, including ATP1A1, CACNA1D, CALM1, CLDN10, NUP214, TDP2, and UNC93B1, underscore the potential of machine learning in identifying robust biomarkers for T2D and the utility of integrating omics data with advanced computational methods. Here, TDP2 is linked to type 2 diabetes mellitus.