Comparative Analysis of Machine Learning Algorithms and Ensemble Techniques for Diverse Image Classification Tasks
Yulita Salim, Athar Fathana Rakasyah, Herdianti Darwis, Harlinda Harlinda, Irawati Irawati, Abdul Rachman Manga · 2025
In the era of burgeoning image data, the demand for robust image classification algorithms has never been more pressing. This research article delves into the realm of image classification, encompassing a comprehensive analysis of diverse datasets and machine learning algorithms, While simultaneously studying the efficiency of ensemble approaches in improving classification performance. The study employs five distinct datasets, spanning medical images, everyday objects, and natural scenery, ensuring a broad spectrum of classification challenges. These datasets include the Skin Cancer ISIC dataset, CIFAR-10, Flowers, Apparel Image, and Brain Tumor dataset. The image classes within these data sets vary significantly, presenting an ideal testbed for assessing algorithmic versatility. Our investigation scrutinizes five machine learning algorithms: Support Vector Classifier (SVC), Random Forest Classifier (RFC), Gradient Boosting Classifier (GBC), K-Nearest Neighbors (KNN), and Gaussian Naive Bayes (GNB). Each algorithm is evaluated individually, followed by a comprehensive ensemble approach involving a Voting Classifier. The results unveil nuanced performance variations across diverse datasets. Notably, RFC and GBC exhibit remarkable accuracy in brain tumor image classification, while KNN demonstrates strengths in classifying apparel images. Ensemble techniques, embodied by the Voting Classifier, harmonize these algorithms, yielding competitive and balanced performance across the datasets. This article contributes valuable insights into the realm of image classification, shedding light on algorithmic strengths and limitations, the efficacy of ensemble techniques, and their applicability to diverse image datasets. These findings hold significance for fields ranging from medical diagnostics to everyday object recognition, paving the way for more precise and versatile image classification solution