Application program for prediction of the type 2 diabetes in Thai people using artificial neural network


  • Wuttichai Luangruangrong IT Department, Bangkok Hospital, Bangkok 10310, Thailand
  • Annupan Rodtook Department of Computer Sciences, Ramkhamhaeng University, Bangkok 10240, Thailand
  • Sanon Chimmanee Faculty of Information Technology, Rangsit University, Patumthani 12000, Thailand


diabetes, prediction tools, back-propagation, neural network, neural network tuning, risk factors


Among non-communicable diseases, diabetes kills the most people in Asia and is only becoming more prevalent in this region. Analyzing Type 2 diabetes risk factors utilizing prediction tools instead of blood testing is a challenge for accurate diabetes diagnosis. Recently, many researchers have studied the risk factors of diabetes by using Logistic Regression, Radial Basis and Back-propagation Neural Network (BNN) and applying them as a tool for diabetes prediction. This paper presents the new factors of smoking and alcohol consumption to improve performance in diabetes prediction.  The predictive role of some traditional factors, i.e., body mass index, blood pressure and waist circumference and Family History (FMH) are also improved by adjusting the previously accepted ranges. The newly proposed diabetes prediction method is based on BNN.  The sample data consists of 2,000 Thai people presenting at Bangkok hospital, Thailand from 2010 to 2012.  From these experiments, it was found that an appropriate number of hidden nodes was equal to 50 nodes.  Each proposed factor, i.e., FMH, alcohol consumption factor, smoking factor, and WC gave a better accuracy (correct in prediction) compared with a baseline model.  Their accuracies were 83.35%, 83.50%, 83.60% and 83.65%, respectively.  Subsequently, the new risk factor model performance was increased by tuning the neural network parameter learning rate.  Our previously proposed factors for tuning BNN parameters introduced a high accuracy compared with the baseline model up to 1.2%. In this paper, the new proposed factors model introduces a better performance in Root Mean Square Error (RMSE) than the baseline factors model up to 25.75%, which are trained by the same sample data (2000 cases).  Finally, the new model is implemented to be the diabetes prediction tool based on PHP web application, which works in conjunction with Matlab for predicting calculation.  T


Aekphakorn W. (2005). Diabetes risk score. Bangkok, Thailand: Office of Health Information System. -In Thai-[วิชัย เอกพลากร (Wichai Aekphakorn). “การศึกษาพัฒนาดัชนีความเสี่ยงต่อเบาหวาน” กรุงเทพฯ : สำนักงานพัฒนาระบบข้อมูลข่าวสารสุขภาพ, 2548.]

Baan, C. A., Ruige, J. B., Stolk, R. P., Witteman, J. C., Dekker, J. M., Heine, R. J., & Feskens, E.J. (1999). Performance of a predictive model to identify undiagnosed diabetes in a health care setting. Diabetes Care, 22, 213-219.

Baliunas, D. O., Taylor, B. J., Irving, H., Roerecke, M., Patra, J., Mohapatra, S., & Rehm, J. (2009). Alcohol as a risk factor for Type 2 diabetes. Diabetes Care, 32, 2123-2132.

Barlow-Stewart, K. (2007). The Australasian Genetics Resource Book. Sydney, Australia: The Centre for Genetics Education.

Centers for Disease Control and Prevention. (2007). Types of diabetes. National Diabetes Fact Sheet, 2007.

Clair, C., Bitton, A., Meigs, James B., & Rigotti, N.A. (2011). Relationships of cotinine and self-reported cigarette smoking with hemoglobin A1c in the U.S. Diabetes Care, 34, 2250-2255.

Glümer, C., Carstensen, B., Sandbaek, A., Lauritzen, T., Jørgensen, T., & Borch-Johnsen, K. (2004). A Danish Diabetes Risk Score for targeted screening. Diabetes Care, 27, 727-733.

Golden, S. H., Wang, N. Y., Klag, M. J., Meoni, L. A., & Brancati, F. L. (2003). Blood pressure in young adulthood and the risk of type 2 diabetes in middle age, Diabetes Care, 26, 1110-1115.

Joslin Diabetes Center, BMI Calculator, (online)., February 4, 2012.

Koppes, L. L., Dekker, J. M., Hendriks, H. F., Bouter, L M., & Heine, R. J. (2005). Moderate alcohol consumption lowers the risk of Type 2 diabetes. Diabetes Care, 28, 719-725.

Luangruangrong W., Rodtook, A., & Chimmanee S. (2012). Study of Type 2 diabetes risk factors using neural network for Thai people and tuning neural network parameters, IEEE SMC 2012, Seoul, Korea.

Matoba, Y., Inoguchi, T., Nasu, S., Suzuki, S., Yanase, T., Nawata, H., & Takayanagi, R. (2007). Optimal cut points of waist circumference for the clinical diagnosis of metabolic syndrome in the Japanese population. Diabetes Care, 31, 590-592.

Matsuzawa Y. (2005). Metabolic syndrome-definition and diagnostic criteria in Japan. Atherosclerosis and Thrombosis, 12, 301.

Mohan, V., Deepa, R., Deepa, M., Somannavar, S., & Datta M. (2005). A simplified Indian Diabetes Risk Score for screening for undiagnosed diabetic subjects. Association of Physicians of India, 53, 759-763.

Rimm, E. B., Manson, J. E., Stampfer, M. J., Colditz, G. A., Willett, W. C., Rosner, B., Hennekens, C. H., & Speizer, F. E. (1993). Cigarette smoking and the risk of diabetes in women. American Journal of Public Health, 83, 211-214.

Rimm, E. B., Chan, J., Stampfer, M. J., Colditz, G. A., & Willett, W. C. (1995). Prospective study of cigarette smoking, alcohol use and the risk of diabetes in men. British Medical Journal. 310, 555.

Schmidt, M. I., Duncan, B. B., Bang, H., Pankow, J. S., Ballantyne, C. M., Golden, S. H., Folsom, A. R. & Chambless, L. E. (2005). Identifying individuals at high risk for diabetes. Diabetes Care, 28, 2013-2018.

Stern, M. P., Williams, K., González-Villalpando, C., Hunt, K. J., & Haffner, S. M. (2004). Does the metabolic syndrome improve identification of individuals at risk of Type 2 diabetes and/or cardiovascular disease?. Diabetes Care, 27, 2676-2681.

Wilson, P. W., Meigs, J. B., Sullivan, L., Fox, C. S., Nathan, D. M., & D'Agostino, R. B., Sr. (2007). Prediction of incident diabetes mellitus in middle-aged adults: the Framingham Offspring Study. Annals of Internal Medicine, 167, 1068-1074.

Wisaeng K., Chiewchanwattana S., & Khamron Sunat. (2009). Risk factor analysis of diabetes mellitus diagnosis, A thesis for the degree of Master of Computer Science, Khonkaen University, 798-805.

World Health Organization, BMI classification, (online). ?introPage=intro_3.html, February 4, 2012.




How to Cite

Wuttichai Luangruangrong, Annupan Rodtook, & Sanon Chimmanee. (2023). Application program for prediction of the type 2 diabetes in Thai people using artificial neural network. Journal of Current Science and Technology, 3(1), 53–63. Retrieved from



Research Article