Researchers use AI to predict risk of developing type 2 diabetes