Assessing the Effectiveness of a Genetic Programming Algorithm in Supervised Classification Tasks

Authors

  • Wilson Soto Professor
  • Daniel Soto

DOI:

https://doi.org/10.19153/cleiej.29.2.6

Keywords:

genetic programming, evolutionary algorithms, supervised classifications

Abstract

Evolutionary Algorithms (EAs) are population-based, stochastic search algorithms that emulate natural evolution. Over the years, EAs have been successfully applied to numerous classification problems. This paper proposes an enhanced evolutionary algorithm for synthesizing classifiers in supervised data scenarios. The algorithm is rooted in Genetic Programming (GP), a form of optimization inspired by biological evolution. GP evolves computer programs that perform specific tasks, represented as sets of genes manipulated by a Genetic Algorithm (GA). Our approach generates a Directed Acyclic Graph (DAG) for each training class to align each test class with one of them. Additionally, the approach incorporates a fitness evaluation function with dual objectives: the cumulative evaluation values of test samples and the count of prediction errors in classes. We benchmark our approach against established machine learning methods such as Support Vector Machine (SVM), K-Nearest Neighbor (K-NN), and Particle Swarm Optimization (PSO). The enhanced algorithm demonstrates competitive performance, achieving an accuracy of over 70% when evaluating evolving classifiers across twelve public UCI datasets.

References

M. Ahvanooey, Q. Li, M. Wu, and S. Wang, “A survey of genetic programming and its applications,” KSII Transactions on Internet and Information Systems, vol. 13, no. 4, pp. 1765–1794, April 2019.

L. Santoso, B. Singh, S. Rajest, R. Regin, and K. Kadhim, “A genetic programming approach to binary classification problem,” EAI Endorsed Transactions on Energy Web, 2020.

J. Ma and X. Gao, “A filter-based feature construction and feature selection approach for classification using genetic programming,” Knowledge-Based Systems, vol. 196, p. 105806, 2020. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S095070512030191X

A. Kumar, N. Sinha, and A. Bhardwaj, “A novel fitness function in genetic programming for medical data classification,” Journal of Biomedical Informatics, vol. 112, 2020. [Online]. Available: https://doi.org/10.1016/j.jbi.2020.103623

E. Dufourq and N. Pillay, “Hybridizing evolutionary algorithms for creating classifier ensembles,” in Sixth World Congress on Nature and Biologically Inspired Computing (NaBIC), 2014, pp. 84–90.

J. Bell, Machine Learning: Hands-on for Developers and Technical Professionals. Indianapolis, USA: Wiley, 2020.

U. S. Shanthamallu, A. Spanias, C. Tepedelenlioglu, and M. Stanley, “A brief survey of machine learning methods and their sensor and iot applications,” in 8th International Conference on Information, Intelligence, Systems and Applications (IISA), 2017, pp. 1–8.

T. Loveard and V. Ciesielski, “Representing classification problems in genetic programming,” in Proceedings of the ongress on Evolutionary Computation, vol. 2, 2001, pp. 1070–1077.

Genetic Programming for Machine Learning. John Wiley & Sons, Ltd, 2017, ch. 6, pp. 183–216. [Online]. Available: https://onlinelibrary.wiley.com/doi/abs/10.1002/9781119136378.ch6

S. Winkler, M. Affenzeller, and S. Wagner, “Advances in applying genetic programming to machine learning, focussing on classification problems,” Parallel and Distributed Processing Symposium, p. 267, 2006.

P. Espejo, S. Ventura, and F. Herrera, “A survey on the application of genetic programming to classification,” IEEE Transactions on Systems, Man, and Cybernetics Part C, vol. 40, pp. 121–144, 2010.

W. La Cava, S. Silva, K. Danai, L. Spector, L. Vanneschi, and J. Moore, “Multidimensional genetic programming for multiclass classification,” Swarm and Evolutionary Computation, vol. 44, pp. 260–272, 2019. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S2210650217309136

E. Naredo, L. Trujillo, P. Legrand, S. Silva, and L. Munoz, “Evolving genetic programming classifiers with novelty search,” Information Sciences, vol. 369, pp. 347–367, 2016. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S002002551630473X

D. Dua and C. Graff, “Uci machine learning repository,” 2019. [Online]. Available: https://archive.ics.uci.edu/ml

F. Al-Obeidat, N. Belacel, and B. Spencer, “Combining machine learning and metaheuristics algorithms

for classification method proaftn,” in Combining Machine Learning and Metaheuristics Algorithms for Classification. Cham: Springer, 2019, pp. 53–79.

W. Fu, B. Xue, X. Gao, and M. Zhang, “Output-based transfer learning in genetic programming for document classification,” Knowledge-Based Systems, vol. 212, p. 106597, 2021.

Q. U. Ain, H. Al-Sahaf, B. Xue, and M. Zhang, “A genetic programming approach to feature construction for ensemble learning in skin cancer detection,” in Genetic and Evolutionary Computation Conference (GECCO). ACM, 2020, pp. 1186–1194.

Y. Mei, Q. Chen, A. Lensen, B. Xue, and M. Zhang, “Explainable artificial intelligence by genetic programming: A survey,” IEEE Transactions on Evolutionary Computation, vol. 27, no. 3, pp. 621–641, 2023

Downloads

Published

2026-07-11