Next Article in Journal
Differential Immunostimulatory Effects of Lipoteichoic Acids Isolated from Four Strains of Lactiplantibacillus plantarum
Next Article in Special Issue
Natural Language Processing and Machine Learning Supporting the Work of a Psychologist and Its Evaluation on the Example of Support for Psychological Diagnosis of Anorexia
Previous Article in Journal
Saturation, Allowed Transitions and Quantum Interference in Laser Cooling of Solids
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Fine-Tuning Fuzzy KNN Classifier Based on Uncertainty Membership for the Medical Diagnosis of Diabetes

1
Faculty of Engineering, Delta University for Science and Technology, Gamasa 35712, Egypt
2
Faculty of Artificial Intelligence, Kafrelsheikh University, Kafrelsheikh 33511, Egypt
3
Faculty of Computers and Information, Mansoura University, Mansoura 35516, Egypt
4
Computer Science Department, Misr Higher Institute for Commerce and Computers, Mansoura 35511, Egypt
5
Department of Information Technology, College of Computers and Information Technology, Taif University, P. O. Box 11099, Taif 21944, Saudi Arabia
6
Nile Higher Institute for Engineering and Technology, Mansoura 35524, Egypt
*
Author to whom correspondence should be addressed.
Appl. Sci. 2022, 12(3), 950; https://doi.org/10.3390/app12030950
Submission received: 3 January 2022 / Revised: 11 January 2022 / Accepted: 14 January 2022 / Published: 18 January 2022
(This article belongs to the Collection Machine Learning for Biomedical Application)

Abstract

Diabetes, a metabolic disease in which the blood glucose level rises over time, is one of the most common chronic diseases at present. It is critical to accurately predict and classify diabetes to reduce the severity of the disease and treat it early. One of the difficulties that researchers face is that diabetes datasets are limited and contain outliers and missing data. Additionally, there is a trade-off between classification accuracy and operational law for detecting diabetes. In this paper, an algorithm for diabetes classification is proposed for pregnant women using the Pima Indians Diabetes Dataset (PIDD). First, a preprocessing step in the proposed algorithm includes outlier rejection, imputing missing values, the standardization process, and feature selection of the attributes, which enhance the dataset’s quality. Second, the classifier uses the fuzzy KNN method and modifies the membership function based on the uncertainty theory. Third, a grid search method is applied to achieve the best values for tuning the fuzzy KNN method based on uncertainty membership, as there are hyperparameters that affect the performance of the proposed classifier. In turn, the proposed tuned fuzzy KNN based on uncertainty classifiers (TFKNN) deals with the belief degree, handles membership functions and operation law, and avoids making the wrong categorization. The proposed algorithm performs better than other classifiers that have been trained and evaluated, including KNN, fuzzy KNN, naïve Bayes (NB), and decision tree (DT). The results of different classifiers in an ensemble could significantly improve classification precision. The TFKNN has time complexity O(kn2d), and space complexity O(n2d). The TFKNN model has high performance and outperformed the others in all tests in terms of accuracy, specificity, precision, and average AUC, with values of 90.63, 85.00, 93.18, and 94.13, respectively. Additionally, results of empirical analysis of TFKNN compared to fuzzy KNN, KNN, NB, and DT demonstrate the global superiority of TFKNN in precision, accuracy, and specificity.
Keywords: diabetes; classifier; ensemble classifier; machine learning; Pima Indians diabetes dataset; fuzzy KNN; uncertainty diabetes; classifier; ensemble classifier; machine learning; Pima Indians diabetes dataset; fuzzy KNN; uncertainty

Share and Cite

MDPI and ACS Style

Salem, H.; Shams, M.Y.; Elzeki, O.M.; Abd Elfattah, M.; F. Al-Amri, J.; Elnazer, S. Fine-Tuning Fuzzy KNN Classifier Based on Uncertainty Membership for the Medical Diagnosis of Diabetes. Appl. Sci. 2022, 12, 950. https://doi.org/10.3390/app12030950

AMA Style

Salem H, Shams MY, Elzeki OM, Abd Elfattah M, F. Al-Amri J, Elnazer S. Fine-Tuning Fuzzy KNN Classifier Based on Uncertainty Membership for the Medical Diagnosis of Diabetes. Applied Sciences. 2022; 12(3):950. https://doi.org/10.3390/app12030950

Chicago/Turabian Style

Salem, Hanaa, Mahmoud Y. Shams, Omar M. Elzeki, Mohamed Abd Elfattah, Jehad F. Al-Amri, and Shaima Elnazer. 2022. "Fine-Tuning Fuzzy KNN Classifier Based on Uncertainty Membership for the Medical Diagnosis of Diabetes" Applied Sciences 12, no. 3: 950. https://doi.org/10.3390/app12030950

APA Style

Salem, H., Shams, M. Y., Elzeki, O. M., Abd Elfattah, M., F. Al-Amri, J., & Elnazer, S. (2022). Fine-Tuning Fuzzy KNN Classifier Based on Uncertainty Membership for the Medical Diagnosis of Diabetes. Applied Sciences, 12(3), 950. https://doi.org/10.3390/app12030950

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop