Using LASSO feature selection followed by multivariable logistic regression, a diagnostic nomogram was developed incorporating TLR2, IL-6, TNF-α, ESR, age, and diabetes duration. This evidence concerns the gene IL6 and diabetes mellitus.