Performance of Naïve Bayes and Support Vector Machine for solid waste classification in automated sorting systems
Open Access
- 11 July 2025
- journal article
- Published by Ho Chi Minh City Open University Journal of Science in HCMCOU Journal of Science – Advances in Computational Structures
- Vol. 15 (2) , 17-28
Abstract
This study evaluates the performance of two traditional machine learning models - Naïve Bayes and Support Vector Machines (SVM) - for classifying solid waste materials in an automated sorting system. A dataset of 284 JPEG images, categorized into five classes (cardboard, glass, metal, paper, and plastic), was utilized. Preprocessing involved resizing images to 512 × 384 pixels, normalizing pixel values, and extracting features using Histograms of Oriented Gradients (HOG) and Color Histograms. Based on the results, Naïve Bayes exhibited computational efficiency, achieving an accuracy of 98.90% and an F1-score of 0.908. However, it struggled with overlapping features, particularly between glass and metal, leading to misclassifications. In contrast, SVM outperformed Naïve Bayes, achieving an accuracy of 99.80% and an F1-score of 0.965 by effectively handling complex and overlapping features through optimal decision boundaries. The findings highlight SVM’s superior performance for complex datasets, whereas Naïve Bayes remains a viable option for more straightforward classification tasks. This study underscores the potential of traditional machine learning in waste classification. Still, it suggests that integrating deep learning models may improve accuracy, scalability, and adaptability in real-world waste sorting systems.Keywords
This publication has 21 references indexed in Scilit:
- Municipal solid waste classification and real-time detection using deep learning methodsUrban Climate, 2023
- Classification of Waste Materials using CNN Based on Transfer Learning2022
- Investigating the effect of trees on urban quality in Dublin by combining air monitoring with i-Tree Eco modelSustainable Cities and Society, 2020
- Adding feature selection on Naïve Bayes to increase accuracy on classification heart attack diseaseJournal of Physics: Conference Series, 2020
- Classifying Wastes Using Random Forests, Gaussian Naïve Bayes, Support Vector Machine and Multilayer PerceptronIOP Conference Series: Materials Science and Engineering, 2020
- Predicting patterns of student graduation rates using Naïve bayes classifier and support vector machineAIP Conference Proceedings, 2018
- ImageNet Large Scale Visual Recognition ChallengeInternational Journal of Computer Vision, 2015
- Top 10 algorithms in data miningKnowledge and Information Systems, 2007
- Histograms of Oriented Gradients for Human Detection2005
- On the Optimality of the Simple Bayesian Classifier under Zero-One LossMachine Learning, 1997