Abstract
Type 2 diabetes is a persistent disorder that affects millions of individuals globally. It is characterised by the excessive levels of glucose within the blood due to insulin resistance or the incapability to supply insulin. Early detection and prediction of type 2 diabetes can improve patient outcomes. K-Nearest Neighbor (KNN) is used in the present model to predict type 2 diabetes. The KNN set of rules is a simple but powerful machine learning set of rules used for categorization and regression. It's far a non-parametric approach that makes predictions based totally on the nearest k-neighbours in a dataset. KNN is widely used in healthcare and scientific studies to expect and classify sicknesses primarily based on the affected person’s data. The intention of this work is to predict the threat of growing type 2 diabetes using the KNN set of rules. Data has been collected from electronic medical records of patients diagnosed with type 2 diabetes and healthy individuals. The dataset consists of various patient attributes, such as age, gender, body mass index, blood pressure, cholesterol levels, and glucose levels. Information has also been collected about lifestyle habits, such as physical activity, smoking status, and alcohol consumption. Data have been pre-processed by removing missing values and outliers, and normalization of the data has been done to ensure that all features have the same scale. Splitting the dataset into training and test sets, with training sets using 80% of the data and test sets using 20% of the data is performed. KNN algorithm have been used to classify the patients into two groups: those at high risk of developing type 2 diabetes and those at low risk. The model's performance has been assessed using a variety of metrics, including accuracy, precision, recall, and F1-score.
References
Habibi, S., Ahmadi, M. and Alizadeh, S., 2015. Type 2 diabetes mellitus screening and risk factors using decision tree: results of data mining. Global journal of health science, Volume no 7 Issue no 5, page no 304.
Singh, D.A.A.G., Leavline, E.J. and Baig, B.S., 2017. Diabetes prediction using medical data. Journal of Computational Intelligence in Bioinformatics, Volume no 10 Issue no 1, page no 1-8.Wu, H., Yang, S., Huang, Z., He, J. and Wang, X., 2018. “Type 2 diabetes mellitus prediction model based on data mining”. Informatics in Medicine Unlocked, 10, pp.100-107.
Wu, H., Yang, S., Huang, Z., He, J. and Wang, X., 2018. “Type 2 diabetes mellitus prediction model based on data mining”. Informatics in Medicine Unlocked, Volume no 10, page no 100-107.
Neha Prerna Tigga, Shruti Garg, 2019.” Prediction of Type 2 Diabetes using Machine Learning Classification Methods”. International Conference on Computational Intelligence and Data Science (ICCIDS 2019), Volume no 167, page no.706-716.
Zidian Xie, Olga Nikolayeva, MS, Jiebo Luo and Dongmei Li, 2019.” Building Risk Prediction Models for Type 2 Diabetes Using Machine Learning Techniques”. National Centre for Biotechnology information, Volume no 50, Page no 100-105
Kavakiotis, I., Tsave, O., Salifoglou, A., Maglaveras, N., Vlahavas, I. and Chouvarda, I., 2017. Machine learning and data mining methods in diabetes research. Computational and structural biotechnology journal, Volume no 15, Page no 110.
Zou, Q., Qu, K., Luo, Y., Yin, D., Ju, Y. and Tang, H., 2018. Predicting diabetes mellitus with machine learning techniques. Frontiers in genetics, Volume no 9, page no 115.
Sarwar, M.A., Kamal, N., Hamid, W. and Shah, M.A., 2018, September. Prediction of diabetes using machine learning algorithms in healthcare. In 2018 24th international conference on automation and computing (ICAC) IEEE, Page no 1-6
Saru, S. and Subashree, S., 2019. Analysis and prediction of diabetes using machine learning. International journal of emerging technology and innovative engineering, Volume no 5, Issue no 4
Maniruzzaman, M., Rahman, M.J., Ahammed, B. and Abedin, M.M., 2020. Classification and prediction of diabetes disease using machine learning paradigm. Health information science and systems, Volume no 8, Page no 1-10
Alehegn, M., Joshi, R. and Alehegn, M., 2017. Analysis and prediction of diabetes diseases using machine learning algorithm: Ensemble approach. International Research Journal of Engineering and Technology, Volume no 4 , Issue no 10, page no 426-436.
Alanazi, A.S. and Mezher, M.A., 2020, September. Using machine learning algorithms for prediction of diabetes mellitus. In 2020 International Conference on Computing and Information Technology (ICCIT-1441) IEEE, page no 1-3
Panda, M., Mishra, D.P., Patro, S.M. and Salkuti, S.R., 2022. Prediction of diabetes disease using machine learning algorithms. IAES International Journal of Artificial Intelligence, Volume no 11, Issue no 1. Page no 20-40
Shafi, S. and Ansari, G.A., 2021, May. Early prediction of diabetes disease & classification of algorithms using machine learning approach. In Proceedings of the International Conference on Smart Data Intelligence (ICSMDI 2021). Volume no 30, Issue no 4, Page no 50-58
Olisah, C.C., Smith, L. and Smith, M., 2022. Diabetes mellitus prediction and diagnosis from a data pre-processing and machine learning perspective. Computer Methods and Programs in Biomedicine, Volume no 220, page no 10-20
