Classification of Diabetes Mellitus Sufferers Eating Patterns Using K-Nearest Neighbors, Naïve Bayes and Decission Tree

Ayuni Fachrunisa Lubis, Hilmi Zalnel Haq, Indah Lestari, Muhammad Iltizam, Nitasnim Samae, Muhammad Aufi Rofiqi, Sakhi Hasan Abdurrahman, Balqis Hamasatiy Tambusai, Puja Khalwa Salsilah
{"title":"Classification of Diabetes Mellitus Sufferers Eating Patterns Using K-Nearest Neighbors, Naïve Bayes and Decission Tree","authors":"Ayuni Fachrunisa Lubis, Hilmi Zalnel Haq, Indah Lestari, Muhammad Iltizam, Nitasnim Samae, Muhammad Aufi Rofiqi, Sakhi Hasan Abdurrahman, Balqis Hamasatiy Tambusai, Puja Khalwa Salsilah","doi":"10.57152/predatecs.v2i1.1103","DOIUrl":null,"url":null,"abstract":"The study investigates three classification algorithms, namely K-Nearest Neighbor (K-NN), Naïve Bayes, and Decision Tree, for the classification of Diabetes Mellitus using a dataset from Kaggle. K-NN relies on distance calculations between test and training data, using the Euclidean distance formula. The choice of k, representing the nearest neighbor, significantly influences K-NN's effectiveness. Naïve Bayes, a probabilistic method, predicts class probabilities based on past events, and it employs the Gaussian distribution method for continuous data. Decision Trees, form prediction models with easily implementable rules. Data collection involves obtaining a Diabetes Mellitus dataset with eight attributes. Data preprocessing includes cleaning and normalization to minimize inconsistencies and incomplete data. The classification algorithms are applied using the Rapidminer tool, and the results are compared for accuracy. Naïve Bayes yields 77.34% accuracy, K-NN performance depends on the chosen k value, and Decision Trees generate rules for classification. The study provides insights into the strengths and weaknesses of each algorithm for diabetes classification","PeriodicalId":516904,"journal":{"name":"Public Research Journal of Engineering, Data Technology and Computer Science","volume":"119 38","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-04-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Public Research Journal of Engineering, Data Technology and Computer Science","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.57152/predatecs.v2i1.1103","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

The study investigates three classification algorithms, namely K-Nearest Neighbor (K-NN), Naïve Bayes, and Decision Tree, for the classification of Diabetes Mellitus using a dataset from Kaggle. K-NN relies on distance calculations between test and training data, using the Euclidean distance formula. The choice of k, representing the nearest neighbor, significantly influences K-NN's effectiveness. Naïve Bayes, a probabilistic method, predicts class probabilities based on past events, and it employs the Gaussian distribution method for continuous data. Decision Trees, form prediction models with easily implementable rules. Data collection involves obtaining a Diabetes Mellitus dataset with eight attributes. Data preprocessing includes cleaning and normalization to minimize inconsistencies and incomplete data. The classification algorithms are applied using the Rapidminer tool, and the results are compared for accuracy. Naïve Bayes yields 77.34% accuracy, K-NN performance depends on the chosen k value, and Decision Trees generate rules for classification. The study provides insights into the strengths and weaknesses of each algorithm for diabetes classification
利用 K-近邻、奈夫贝叶斯和判定树对糖尿病患者的饮食模式进行分类
本研究使用来自 Kaggle 的数据集研究了三种分类算法,即 K-Nearest Neighbor (K-NN)、Naïve Bayes 和决策树,用于糖尿病分类。K-NN 依靠欧氏距离公式计算测试数据和训练数据之间的距离。k 代表最近的邻居,它的选择对 K-NN 的有效性有很大影响。奈夫贝叶斯是一种概率方法,根据过去的事件预测类别概率,它采用高斯分布法来处理连续数据。决策树通过易于实施的规则形成预测模型。数据收集包括获取具有八个属性的糖尿病数据集。数据预处理包括清理和归一化,以尽量减少不一致和不完整的数据。使用 Rapidminer 工具应用分类算法,并比较结果的准确性。Naïve Bayes 的准确率为 77.34%,K-NN 的性能取决于所选的 k 值,而决策树则生成分类规则。这项研究深入探讨了每种算法在糖尿病分类方面的优缺点。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信