Abstrak. Stres pada umumnya didefinisikan sebagai keadaan dimana seseorang mengalami gangguan mental, ini merupakan respon terhadap kesulitan yang dialami. Siswa SMP cenderung tidak menyadari stres yang mereka hadapi. Penelitian ini bertujuan untuk membandingkan dua metode klasifikasi KNN dan Naïve Bayes untuk menentukan tingkat stres. Data penelitian ini dikumpulkan dari 254 responden dari SMP Katolik Don Bosco Bitung. Tes validasi k-cross dan pemisahan persentase dari data menunjukkan bahwa metode Naïve Bayes lebih baik dari metode KNN. Dengan k = 3, akurasi KNN mencapai 86,61% pada tertinggi dan Naïve Bayes mencapai 87,40%. Sementara itu, berdasarkan hasil uji persentase split, rata-rata akurasi Naïve Bayes lebih tinggi dari KNN dengan persentase 88,31%. Selain itu, untuk presisi dan daya ingat, Naïve Bayes lebih tinggi dari KNN dengan 88,30% dan 87,40% dilihat dari validasi k-cross.Abstract. Stress is generally defined as a state where someone is mentally disturbed as the response to the adversity that he/she experiences. Junior High School students usually are not aware of the stress that they encounter. This research aims to compare two classification methods of KNN and Naïve Bayes to determine stress level. The data of this research were gathered from 254 respondents from Catholic Junior High School of Don Bosco Bitung. The tests of k-cross validation and percentage split from the data showed that Naïve Bayes method excelled KNN method. With k=3, KNN accuracy reached 86.61% at the highest and Naïve Bayes reached 87.40%. Meanwhile, based on percentage split test, the average of Naïve Bayes accuracy was higher than KNN with percentage of 88.31%. Moreover, for the precision and recall, Naïve Bayes was higher than KNN with 88.30% and 87.40% seen from the k-cross validation.
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.
hi@scite.ai
10624 S. Eastern Ave., Ste. A-614
Henderson, NV 89052, USA
Copyright © 2024 scite LLC. All rights reserved.
Made with 💙 for researchers
Part of the Research Solutions Family.