Diabetes is a life-threatening syndrome occurring around the world; it can have huge complications and is documented by large amounts of medical data. Therefore, attempts at early detection of this disease took a large area of research and many methods were used to deal with diabetes. In this paper, different types of KNN algorithm have been used to classify diabetes disease using Matlab. The dataset was generated by the criteria of the American diabetes association. For the training stage, 4900 samples have been used by the classifier learner tool to observe the results. Then, 100 of the data samples were used for the test. The results show that the KNN types (Fine, Weighted, Medium and Cubic) give high accuracy over the Coarse and the Cosine methods. Fine KNN is considered the most suitable according to its accuracy of classified samples. ABSTRAK: Penyakit kencing manis adalah sindrom penyakit ancaman nyawa yang berlaku di seluruh dunia dan ia mempunyai data perubatan yang besar serta komplikasi tinggi. Oleh itu, cubaan dalam mengesan awal penyakit ini mempunyai potensi luas dalam kajian dan banyak kaedah telah digunakan bagi mengkaji penyakit kencing manis. Dalam kajian ini, pelbagai jenis algoritma KNN telah digunakan bagi mengelas penyakit kencing manis menggunakan Matlab. Setdata dihasilkan berdasarkan kriteria Kesatuan Kencing Manis Amerika. Pada peringkat latihan, sebanyak 4900 sampel telah digunakan oleh pelatih alat pengelasan bagi memantau dapatan kajian. Kemudian, 100 daripada sampel data telah digunakan bagi ujian. Keputusan menunjukkan jenis KNN (Halus, Berat, Sederhana dan Kubik) lebih tepat berbanding kaedah Kasar dan Kosinus. KNN Halus di dapati lebih sesuai berdasarkan ketepatan sampel pengelasan.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.
customersupport@researchsolutions.com
10624 S. Eastern Ave., Ste. A-614
Henderson, NV 89052, USA
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Copyright © 2025 scite LLC. All rights reserved.
Made with 💙 for researchers
Part of the Research Solutions Family.