INS and type 2 diabetes mellitus: In this research, we propose a machine-learning based system to predict the 2 h after meal BGL of Type 2 diabetes patient, taking the meal intake, insulin or medicine, physical exercises, etc. into account.