Performance comparison of Naive Bayes, PSO-Naive Bayes, and PCA-PSO-Naive Bayes for the classification of elementary school students' interests

Authors

  • Endah Herminarimawati Universitas Amikom Yogyakarta
  • Kusrini Kusrini Universitas Amikom Yogyakarta

DOI:

https://doi.org/10.31571/saintek.v15i1.10914

Keywords:

Naive Bayes, Principal Component Analysis, Particle Swarm Optimization, classification, student interest

Abstract

Identifying students’ interests at an early stage is a crucial process in education because it enables schools to direct students’ potential in a structured and objective manner. However, report card data typically contain many attributes, some of which are redundant or irrelevant, and this condition can degrade the performance of classification algorithms such as Naive Bayes. This study compared the classification performance of three models, namely pure Naive Bayes, a hybrid PSO-Naive Bayes model, and a hybrid PCA-PSO-Naive Bayes model, in classifying the interests of elementary school students into four categories: Academic, Arts, Sports, and ICT. The dataset combined cognitive data in the form of report card scores in nine subjects with affective data obtained from an interest questionnaire. Particle Swarm Optimization (PSO) was applied as a feature selection technique, while Principal Component Analysis (PCA) was applied as a dimensionality reduction technique before feature optimization. Model performance was evaluated using stratified 5-fold cross validation. The results showed that the PCA-PSO-Naive Bayes model achieved the highest mean accuracy of 98.92%, compared with 97.84% for pure Naive Bayes and 97.30% for PSO-Naive Bayes. The hybrid PCA-PSO-Naive Bayes model also produced the most stable accuracy across folds, with a range of 97.3% to 100%. These findings indicate that combining PCA-based dimensionality reduction with PSO-based component selection improves both the accuracy and the stability of Naive Bayes in classifying student interests based on academic and questionnaire data.

Downloads

Download data is not yet available.

Author Biographies

Endah Herminarimawati, Universitas Amikom Yogyakarta

Online Master’s Program in Informatics, Faculty of Computer Science

Kusrini Kusrini, Universitas Amikom Yogyakarta

Online Master’s Program in Informatics, Faculty of Computer Science

References

Abukader, A., Alzubi, A., & Adegboye, O. R. (2025). Intelligent system for student performance prediction: An educational data mining approach using metaheuristic-optimized LightGBM with SHAP-based learning analytics. 1-25.

Amrieh, E. A., Hamtini, T., & Aljarah, I. (2016). Mining educational data to predict student’s academic performance using ensemble methods. International Journal of Database Theory and Application, 9(8), 119-136.

Arizmendi, C. J., Bernacki, M. L., Raković, M., Plumley, R. D., Urban, C. J., Panter, A. T., Greene, J. A., & Gates, K. M. (2023). Predicting student outcomes using digital logs of learning behaviors: Review, current standards, and suggestions for future work. Behavior Research Methods, 55(6), 3026-3054. https://doi.org/10.3758/s13428-022-01939-9

Fister, I., Deb, S., Fister, I., & Andre, J. (2025). Hybrid GA-PSO method with local search and image clustering for automatic IFS image reconstruction of fractal colored images. Neural Computing and Applications, 7, 11635-11661. https://doi.org/10.1007/s00521-023-08954-7

González-Devesa, D. (2026). Principal component analysis applied to in-school inertial measurement unit-derived data during physical activity: A systematic review highlighting children’s behavioral patterns. Sensors, 26(8), 2542.

Jain, I., Jain, V. K., & Jain, R. (2017). Correlation feature selection based improved-binary particle swarm optimization for gene selection and cancer classification. Applied Soft Computing, 62, 203-215. https://doi.org/10.1016/j.asoc.2017.09.038

Kamalov, F., Sulieman, H., Alzaatreh, A., Emarly, M., Chamlal, H., & Safaraliev, M. (2025). Mathematical methods in feature selection: A review. 1-29.

Karolina, U., Wijaya, N., & Alamsyah, D. (2025). Classification of elementary school children’s potential based on hobbies using the Naive Bayes method with undersampling technique. 4(3), 340-350.

Kumar, S., & Gupta, P. (2026). High accuracy data classification and feature selection for incomplete information systems using extended limited tolerance relation and conditional entropy approach. IEEE Access, 14, 1-15.

Kusuma, A. C., Susanto, A., & Rachmawanto, E. H. (2025). Penerapan metode klasifikasi dan seleksi fitur untuk memprediksi minat studi dan karir siswa. Jurnal Informatika dan Teknologi Komputer (JITEK), 5(1).

Lötsch, J. (2026). Resolving interpretation challenges in machine learning feature selection with an iterative approach in biomedical pain data. European Journal of Pain. https://doi.org/10.1002/ejp.70221

Monika, S. H. (2025). Multi-parametric and priority driven particle swarm (MPPPSO) optimized task scheduling approach for improving performance of fog computing system. Progress in Artificial Intelligence, 1-18.

Moradi, P., & Gholampour, M. (2016). A hybrid particle swarm optimization for feature subset selection by integrating a novel local search strategy. Applied Soft Computing, 43, 117-130. https://doi.org/10.1016/j.asoc.2016.01.044

Mueen, A., Zafar, B., & Manzoor, U. (2016). Modeling and predicting students’ academic performance using data mining techniques. International Journal of Modern Education and Computer Science, 8(11), 36-42. https://doi.org/10.5815/ijmecs.2016.11.05

Nayak, P., Vaheed, S., Gupta, S., & Mohan, N. (2023). Predicting students’ academic performance by mining the educational data through machine learning-based classification model. Education and Information Technologies, 28, 14611-14637. https://doi.org/10.1007/s10639-023-11706-8

Omuya, E. O., Okeyo, G. O., & Kimwele, M. W. (2021). Feature selection for classification using principal component analysis and information gain. Expert Systems with Applications, 174, 114765. https://doi.org/10.1016/j.eswa.2021.114765

Pathan, M., & Annapurna, K. (2025). Particle swarm optimization-based multimetric route optimization towards quality of service enhancement in vehicular ad hoc networks. International Journal of Communication Systems, 38(16), e70266.

Purnamasari, E., Rini, D. P., & Sukemi, S. (2020). Feature selection using particle swarm optimization algorithm in student graduation classification with naive Bayes method. Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), 4(3), 490-495.

Rafdi, A., Saepudin, S., & Sihabudin, S. (2021). Sentiment analysis using naive Bayes algorithm with feature selection particle swarm optimization (PSO) and genetic algorithm. International Journal of Advances in Data and Information Systems, 2(2), 89-97.

Reddy, G. T., Reddy, M. P. K., Lakshmanna, K., Kaluri, R., Rajput, D. S., Srivastava, G., & Baker, T. (2020). Analysis of dimensionality reduction techniques on big data. IEEE Access, 8, 54776-54788. https://doi.org/10.1109/ACCESS.2020.2980942

Salgotra, R., Chaudhary, R., Verma, P., & Mirjalili, S. (2026). The rise of particle swarm optimization: A systematic bibliometric and thematic review (1995-2025). Archives of Computational Methods in Engineering. Advance online publication.

Sari, D. P., & Wijaya, K. (2025). New feature selection using principal component analysis: A comparative study of performance as feature extraction versus selection. Journal of Data Science and Artificial Intelligence, 4(1), 45-58.

Sartika, D., Sudarsono, B. G., & Purwanti, E. (2024). Support vector machine analysis for interest and talent classification with Python library. JURTEKSI (Jurnal Teknologi dan Sistem Informasi), 10(2).

Syafira, D., Suwilo, S., & Zarlis, M. (2020). Analysis of attribute reduction effectiveness on the naive Bayes classifier method. Journal of Physics: Conference Series, 1566, 012062.

Talita, A. S., Nataza, O. S., & Rustam, Z. (2021). Naive Bayes classifier and particle swarm optimization feature selection method for classifying intrusion detection system dataset. Journal of Physics: Conference Series, 1752, 012021. https://doi.org/10.1088/1742-6596/1752/1/012021

Xue, Y., Xue, B., & Zhang, M. (2019). Self-adaptive particle swarm optimization for large-scale feature selection in classification. ACM Transactions on Knowledge Discovery from Data, 13(5), 1-27. https://doi.org/10.1145/3340848

Yağcı, M. (2022). Educational data mining: Prediction of students’ academic performance using machine learning algorithms. Smart Learning Environments, 9, 11. https://doi.org/10.1186/s40561-022-00192-z

Downloads

Published

2026-06-30

How to Cite

Herminarimawati, E., & Kusrini, K. (2026). Performance comparison of Naive Bayes, PSO-Naive Bayes, and PCA-PSO-Naive Bayes for the classification of elementary school students’ interests. Jurnal Pendidikan Informatika Dan Sains, 15(1), 77–87. https://doi.org/10.31571/saintek.v15i1.10914