A Web Application for Predicting Diabetes Using Machine Learning Methods

Year : 2024 | Volume : 11 | Issue : 03 | Page : 92 102
    By

    Riyaz Ahmed,

  • Piyush Kumar Gupta,

  1. Student, Department of Computer Science and Engineering, School of Engineering Science and Technology, Jamia Hamdard University, New Delhi, India
  2. Assistant Professor, Department of Computer Science and Engineering, School of Engineering Science and Technology, Jamia Hamdard University, New Delhi, India

Abstract

Diabetes is a long-term disease caused by high glucose quantity in the blood. It has the potential to result in serious health complications like heart disease, hypertension, and ocular damage. It is good to identify any health issues as early as possible to get the right medical treatment and make necessary lifestyle adjustments. One makes use of machine learning techniques to predict diabetes and develop treatment options using actual cases. The various methodologies to be applied in diverse models entail K-nearest neighbor (KNN), logistic regression (LR), decision tree (DT), support vector machine (SVM), (RF Computers can predict if someone has diabetes by recognizing signs. We will integrate the trained models into a web application that will connect the models to provide real-time predictions based on factors responsible for diabetes such as body mass index (BMI), age, and insulin levels. We utilized the Kaggle dataset to construct a machine learning-based model for predicting diabetes. We developed a Flask application for diabetes prediction to provide insights into health status and risk factors. We organized the app into modules, such as routes, templates, forms, and static assets, and used Flask’s modular structure. Our site uses HTML, CSS, and JavaScript to create dynamic content and enable interactivity. Machine learning generates a diabetes risk score based on personal details. We have deployed this algorithm to the web with Flask (a Python framework). Predictive models in healthcare could lead to better patient outcomes. Health providers might employ them through predictive analytics within electronic medical records, mobile apps for monitoring individuals’ wellness statuses, or population health management systems that aim at identifying those most in need so that interventions can be prioritized accordingly while keeping track over time. It would be essential for future research efforts towards the integration of various data sources if we are to obtain more accurate results.

Keywords: Machine learning, diabetes prediction, application technology, health, SVM model

[This article belongs to Journal of Artificial Intelligence Research & Advances ]

How to cite this article:
Riyaz Ahmed, Piyush Kumar Gupta. A Web Application for Predicting Diabetes Using Machine Learning Methods. Journal of Artificial Intelligence Research & Advances. 2024; 11(03):92-102.
How to cite this URL:
Riyaz Ahmed, Piyush Kumar Gupta. A Web Application for Predicting Diabetes Using Machine Learning Methods. Journal of Artificial Intelligence Research & Advances. 2024; 11(03):92-102. Available from: https://journals.stmjournals.com/joaira/article=2024/view=177243


References

  1. Dey SK, Hossain A, Rahman MM. Implementation of a web application to predict diabetes disease: an approach using machine learning algorithm. 2018 21st International Conference of Computer and Information Technology (ICCIT), Dhaka, Bangladesh, 2018, pp. 1–5. DOI: 10.1109/ICCI2018.8631968.
  2. Kumari VA, Chitra R. Classification of diabetes disease using support vector machine. Int J Eng Res Appl. 2013;3:1797–801.
  3. Iswanto I, Laxmi Lydia E, Shankar K, Nguyen PT, Hashim W, Maseleno A. Identifying diseases and diagnosis using machine learning. Int J Eng Adv Technol. 2019;8(6 Suppl 2):978–81. DOI: 10.35940/ijeat.F1297.0886S219.
  4. Dutta S, Samir BK. Diabetes prediction using ensemble classifier. Int J Med Health Sci. 2020;9:48–52.
  5. Alić B, Gurbeta L, Badnjević A. Machine learning techniques for classification of diabetes and cardiovascular diseases. 2017 6th Mediterranean Conference on Embedded Computing (MECO), Bar, Montenegro. 2017. p. 1–4. DOI: 10.1109/MECO.2017.7977152.
  6. Zheng T, Xie W, Xu L, He X, Zhang Y, You M, et al. A machine learning-based framework to identify type 2 diabetes through electronic health records. Int J Med Inform. 2017;97:120–7. DOI: 10.1016/j.ijmedinf.2016.09.014. PubMed: 27919371.
  7. Wei S, Zhao X, Miao C. A comprehensive exploration to the machine learning techniques for diabetes identification. 2018 IEEE 4th World Forum on Internet of Things (WF-IoT), Singapore, 2018, pp. 291–5. DOI: 10.1109/WF-IoT.2018.8355130.
  8. Hasan MK, Alam MA, Das D, Hossain E, Hasan M. Diabetes prediction using ensembling of different machine learning classifiers. IEEE Access. 2020;8:76516–31. DOI: 10.1109/ACCESS.2989857.
  9. Chauhan SC, Karvande V. Improve classification performance in diabetes prediction. Open Access Int J Sci Eng. 2019;4:29–33.
  10. Ashiquzzaman A, Tushar AK, Islam MR, Shon D, Im K, Park JH, et al. Reduction of overfitting in diabetes prediction using deep learning neural network. In: IT Convergence and Security, Vol. 1. Springer: Singapore; 2018. p. 35–43. DOI: 10.1007/978-981-10-6451-7_5.
  11. Kumar PS, Pranavi S. Performance analysis of machine learning algorithms on diabetes dataset using big data analytics. 2017 International Conference on Infocom Technologies and Unmanned Systems (Trends and Future Directions) (ICTUS), Dubai, United Arab Emirates. 2017, pp. 508–13. DOI: 10.1109/ICTUS.2017.8286062.
  12. Sisodia D, Sisodia DS. Prediction of diabetes using classification algorithms. Procedia Comput Sci. 2018;132:1578–85. DOI: 10.1016/j.procs.2018.05.122.
  13. Mhaskar HN, Pereverzyev SV, Van der Walt MD. A deep learning approach to diabetic blood glucose prediction. Front Appl Math Stat. 2017;3:14. DOI: 10.3389/fams.2017.00014.
  14. Vapnik V. The nature of statistical learning theory. Springer Science+Business Media; 2013.
  15. Park J, Sandberg IW. Universal approximation using radial-basis-function networks. Neural Comput. 1991;3(2):246–57. DOI: 10.1162/neco.1991.3.2.246. PubMed: 31167308.
  16. Burges CJC. A tutorial on support vector machines for pattern recognition. Data Min Knowl Discov. 1998;2:121–67. DOI: 10.1023/A:1009715923555.
  17. John (2018). Diabetes. [online] Kaggle.com. Available from: https://www.kaggle.com/datasets/johndasilva/diabetes.

Regular Issue Subscription Review Article
Volume 11
Issue 03
Received 18/05/2024
Accepted 26/09/2024
Published 07/10/2024



My IP

PlumX Metrics