Heru Lestiawan, Cahaya Jatmoko, Feri Agustina, Daurat Sinaga, L. Erawan
{"title":"Prediction of Sleep Disorders Based on Occupation and Lifestyle: Performance Comparison of Decision Tree, Random Forest, and Naïve Bayes Classifier","authors":"Heru Lestiawan, Cahaya Jatmoko, Feri Agustina, Daurat Sinaga, L. Erawan","doi":"10.33633/jais.v8i3.8987","DOIUrl":null,"url":null,"abstract":"Health is a very important thing in life. Therefore, to maintain health, we need adequate rest. Without adequate rest, the body will not be healthy and fit. In this study, a person's sleep disorder prediction will be made based on their lifestyle and work. The predictions made will classify sleep disorders that are absent, sleep apnea and insomnia from certain lifestyles and work. The methods used to make predictions are decision tree classifier, random forest classifier and naïve Bayes classifier. The test was carried out using a total of 375 data which was broken down into 70% training data and 30% testing data. The results obtained after testing with test data are by using the decision tree classifier algorithm to get an accuracy of 89.431%, using the random forest classifier algorithm to get an accuracy of 90.244% and by using the naïve Bayes classifier algorithm to get an accuracy of 86.992%.","PeriodicalId":289013,"journal":{"name":"Journal of Applied Intelligent System","volume":"38 43","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2023-11-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Applied Intelligent System","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.33633/jais.v8i3.8987","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Health is a very important thing in life. Therefore, to maintain health, we need adequate rest. Without adequate rest, the body will not be healthy and fit. In this study, a person's sleep disorder prediction will be made based on their lifestyle and work. The predictions made will classify sleep disorders that are absent, sleep apnea and insomnia from certain lifestyles and work. The methods used to make predictions are decision tree classifier, random forest classifier and naïve Bayes classifier. The test was carried out using a total of 375 data which was broken down into 70% training data and 30% testing data. The results obtained after testing with test data are by using the decision tree classifier algorithm to get an accuracy of 89.431%, using the random forest classifier algorithm to get an accuracy of 90.244% and by using the naïve Bayes classifier algorithm to get an accuracy of 86.992%.