A firefly optimization algorithm for hyperparameter tuning of the support vector classifier to predict water potability

Article


Bongale, A., C., A.S., Biradar, S., Patil, K.T., Mahajan, Y.V., Dharrao, D., Urolagin, S. and Olsson, P.O. 2025. A firefly optimization algorithm for hyperparameter tuning of the support vector classifier to predict water potability. Engineering, Technology and Applied Science Research. 15 (5), pp. 28300-28306. https://doi.org/10.48084/etasr.12776
TypeArticle
TitleA firefly optimization algorithm for hyperparameter tuning of the support vector classifier to predict water potability
AuthorsBongale, A., C., A.S., Biradar, S., Patil, K.T., Mahajan, Y.V., Dharrao, D., Urolagin, S. and Olsson, P.O.
Abstract

Clean water is essential for human health and life, and assessing its potability is critical for safeguarding public well-being. Machine Learning (ML) algorithms have been widely used for water potability classification based on various water quality parameters. However, the performance of these models strongly depends on effective hyperparameter tuning, which remains both challenging and resource-intensive. This study addresses this issue by proposing the Firefly Optimization Algorithm (FOA) to optimize the Support Vector Classifier (SVC) for water potability classification. Traditional hyperparameter tuning methods, such as GridSearchCV and RandomizedSearchCV, often lack the efficiency and effectiveness needed for achieving optimal model performance. In contrast, the proposed FOA-based approach provides a robust solution, demonstrating superior results compared with traditional methods. Model performance was evaluated using accuracy, precision, recall, F1-score, and Area Under the Curve (AUC). The FOA-tuned SVC achieved an accuracy of 0.6773 and an AUC of 0.7065, outperforming models tuned with conventional methods. These findings highlight the potential of nature-inspired optimization techniques, such as the Firefly algorithm, to enhance ML model performance and offer a promising approach to water potability classification.

Sustainable Development Goals6 Clean water and sanitation
3 Good health and well-being
Middlesex University ThemeSustainability
Health & Wellbeing
PublisherEngineering, Technology and Applied Science Research (ETASR)
JournalEngineering, Technology and Applied Science Research
ISSN2241-4487
Electronic1792-8036
Publication dates
Online06 Oct 2025
Print31 Oct 2025
Publication process dates
Submitted16 Jun 2025
Accepted25 Aug 2025
Deposited29 Sep 2026
Output statusPublished
Publisher's version
License
File Access Level
Open
Copyright Statement

Copyright (c) 2025 Anupkumar Bongale, Amith C. Shekhar, Santoshkumar Biradar, Kavita Tukaram Patil, Yogeshwari V. Mahajan, Deepak Dharrao, Siddhaling Urolagin, P. Olof Olsson
This work is licensed under a Creative Commons Attribution 4.0 International License.

Authors who publish with this journal agree to the following terms:

- Authors retain the copyright and grant the journal the right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.

- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.

- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) after its publication in ETASR with an acknowledgement of its initial publication in this journal.

Digital Object Identifier (DOI)https://doi.org/10.48084/etasr.12776
Permalink -

https://repository.mdx.ac.uk/item/368x84

Download files


Publisher's version
ETASR_12776.pdf
License: CC BY 4.0
File access level: Open

  • 2
    total views
  • 1
    total downloads
  • 1
    views this month
  • 0
    downloads this month

Export as

Related outputs

Selective tensorized hybrid Bilstm model for water quality precursor detection
Anjana, K.V., Jothi, J.A.A. and Urolagin, S. 2026. Selective tensorized hybrid Bilstm model for water quality precursor detection. Expert Systems with Applications. 303. https://doi.org/10.1016/j.eswa.2025.129454
Reinforcement learning-based PoI recommendation using reviews, ratings and locations data
Urolagin, S. 2026. Reinforcement learning-based PoI recommendation using reviews, ratings and locations data. Singh, V. and Asari, V.K. (ed.) International Conference on Machine Learning and Data Engineering. India 06 - 08 Nov 2025 Elsevier. pp. 5290-5304 https://doi.org/10.1016/j.procs.2026.06.580
Automatic reasoning-code generation using NLP-based entity relations identification
Aggarwal, R., Kataria, S., Urolagin, S. and Benzmüller, C. 2025. Automatic reasoning-code generation using NLP-based entity relations identification. 9th International Conference on Information System Design and Intelligent Applications (ISDIA 2025). Dubai, United Arab Emirates 03 - 04 Jan 2025 Springer. pp. 169-183 https://doi.org/10.1007/978-981-96-9248-4_13
Leveraging data warehousing and mining to improve customer satisfaction in the hospitality sector
Sameeullah, R.F.M., Alavudeen, N.S. and Urolagin, S. 2025. Leveraging data warehousing and mining to improve customer satisfaction in the hospitality sector. 2025 3rd International Conference on Computational Intelligence and Network Systems (CINS). Dubai, United Arab Emirates 25 - 26 Nov 2025 IEEE. https://doi.org/10.1109/CINS67018.2025.11412128
CViTS-Net: a CNN-ViT network with skip connections for histopathology image classification
Kanadath, A., Jothi, J.A.A. and Urolagin, S. 2024. CViTS-Net: a CNN-ViT network with skip connections for histopathology image classification. IEEE Access. 12, pp. 117627-117649. https://doi.org/10.1109/access.2024.3448302
Multilevel multiobjective particle swarm optimization guided superpixel algorithm for histopathology image detection and segmentation
Kanadath, A., Jothi, J.A.A. and Urolagin, S. 2023. Multilevel multiobjective particle swarm optimization guided superpixel algorithm for histopathology image detection and segmentation. Journal of Imaging. 9 (4). https://doi.org/10.3390/jimaging9040078
Enhanced pre-trained Xception model transfer learned for breast cancer detection
Joshi, S.A., Bongale, A.M., Olsson, P.O., Urolagin, S., Dharrao, D. and Bongale, A. 2023. Enhanced pre-trained Xception model transfer learned for breast cancer detection. Computation. 11 (3). https://doi.org/10.3390/computation11030059
Knowledge based topic retrieval for recommendations and tourism promotions
Mishra, R.K., Jothi, J.A.A., Urolagin, S. and Irani, K. 2023. Knowledge based topic retrieval for recommendations and tourism promotions. International Journal of Information Management Data Insights. 3 (1). https://doi.org/10.1016/j.jjimei.2022.100145
Cluster-based knowledge graph and entity-relation representation on tourism economical sentiments
Mishra, R.K., Raj, H., Urolagin, S., Jothi, J.A.A. and Nawaz, N. 2022. Cluster-based knowledge graph and entity-relation representation on tourism economical sentiments. Applied Sciences. 12 (16). https://doi.org/10.3390/app12168105
Gabor CNN based intelligent system for visual sentiment analysis of social media data on cloud environment
Urolagin, S., Nayak, J. and Acharya, U.R. 2022. Gabor CNN based intelligent system for visual sentiment analysis of social media data on cloud environment. IEEE Access. 10, pp. 132455-132471. https://doi.org/10.1109/ACCESS.2022.3228263
How does hand gestures in videos impact social media engagement - Insights based on deep learning
Anand, K., Urolagin, S. and Mishra, R.K. 2021. How does hand gestures in videos impact social media engagement - Insights based on deep learning. International Journal of Information Management Data Insights. 1 (2). https://doi.org/10.1016/j.jjimei.2021.100036
Deep learning-based sentiment analysis and topic modeling on tourism during Covid-19 pandemic
Mishra, R.K., Urolagin, S., Jothi, J.A.A., Neogi, A.S. and Nawaz, N. 2021. Deep learning-based sentiment analysis and topic modeling on tourism during Covid-19 pandemic. Frontiers in Computer Science. 3. https://doi.org/10.3389/fcomp.2021.775368