This document presents a new clustering algorithm that combines k-means clustering with the firefly optimization algorithm to improve clustering performance.
The proposed algorithm first cleans the data by removing missing values and identical columns. It then uses an enhanced firefly algorithm to select optimal cluster centroids. Finally, k-means clustering is applied to assign data points to the nearest centroids.
The algorithm is tested on various sized datasets and shows improved accuracy of 78-89% and lower error rates compared to the traditional firefly algorithm alone. This demonstrates the proposed approach can perform clustering more efficiently and accurately.