The algorithm utilized CGM data, carbohydrate data and insulin data and trained an extreme gradient-based tree algorithm to predict three conditions 6 h after meal consumption: hyperglycemia, in target range, and hypoglycemia. Here, INS is linked to Hypoglycemia.