The ROC analysis indicates that incorporating the AIP into the base model enhances its diagnostic performance for type 2 diabetes. Here, AIP is linked to type 2 diabetes mellitus.