JACIII Vol.26 No.2 pp. 169-177
doi: 10.20965/jaciii.2022.p0169


PGFLibPy: An Open-Source Parallel Python Toolbox for Genetic Folding Algorithm

Mohammad A. Mezher

Fahd Bin Sultan University
Jordan Street, Tabuk 15700, Saudi Arabia

June 17, 2020
January 11, 2022
March 20, 2022
parallel computational intelligence, genetic folding, evolutionary algorithms, classification, kernels tricks

Genetic folding (GF) is a robust evolutionary optimization algorithm. For efficient hyper-scale GFs, a hybrid parallel approach based on CPU architecture Parallel GF (PGF) is proposed. It aids in resolving kernel tricks that are difficult to predict using conventional optimization approaches. The regression and classification problems are solved using PGF. Four concurrent CPUs are formed to parallelize the GF, and each executes eight threads. It is also easily scalable to multi-core CPUs. PGFLibPy is a Python-based machine learning framework for classification and regression problems. PGFLibPy was used to build a model of the UCI dataset that reliably predicts regression values. The toolbox activity is used for binary and multiclassification datasets to classify UCI. PGFLibPy’s has 25 Python files and 18 datasets. Dask parallel implementation is being considered in the toolbox. According to this study, this toolbox can categorize and predict models on any other dataset. The source code, binaries, and dataset are available for download at

PGFLibPy in the visual studio code environment

PGFLibPy in the visual studio code environment

Cite this article as:
M. Mezher, “PGFLibPy: An Open-Source Parallel Python Toolbox for Genetic Folding Algorithm,” J. Adv. Comput. Intell. Intell. Inform., Vol.26 No.2, pp. 169-177, 2022.
Data files:
  1. [1] J. H. Holland, “Adaptation in natural and artificial systems,” University of Michigan Press, 1975.
  2. [2] J. R. Koza, “Genetic programming: On the programming of computers by means of natural selection,” A Bradford Book, 1992.
  3. [3] C. Ferreira, “Gene Expression Programming: Mathematical Modeling by an Artificial Intelligence,” Springer-Verlag, 2006.
  4. [4] M. A. Mezher and M. F. Abbod, “Genetic Folding: A New Class of Evolutionary Algorithms,” Int. Conf. on Innovative Techniques and Applications of Artificial Intelligence (SGAI 2010), pp. 279-284, 2010.
  5. [5] M. A. Mezher, “GFLIB: An Open Source Library for Genetic Folding Solving Optimization Problems,” Artificial Intelligence Advances, Vol.1 No.1, pp. 11-17, 2019.
  6. [6] M. A. Mezher and M. F. Abbod, “Genetic Folding MATLAB Toolbox: Solving Santa Fe Trail Problem,” Int. J. of Computers, Vol.11, pp. 54-59, 2017.
  7. [7] C.-C. Chang and C.-J. Lin, “LIBSVM: A library for support vector machines,” ACM Trans. on Intelligent Systems and Technology, Vol.2, No.3, pp. 1-27, 2011.
  8. [8] A. J. Chipperfield and P. J. Fleming, “The MATLAB genetic algorithm toolbox,” IEE Colloquium on Applied Control Techniques Using MATLAB, doi: 10.1049/ic:19950061, 1995.
  9. [9] B. Cuong, N. Phuong, H. Le, B. Son, and K. Yamada, “Fuzzy Inference Methods Employing T-norm with Threshold and Their Implementation,” J. Adv. Comput. Intell. Intell. Inform., Vol.7, No.3, pp. 362-369, doi: 10.20965/jaciii.2003.p0362, 2003.
  10. [10] D. Tikk, Z. Johanyák, S. Kovács, and K. Wong, “Fuzzy Rule Interpolation and Extrapolation Techniques: Criteria and Evaluation Guidelines,” J. Adv. Comput. Intell. Intell. Inform., Vol.15, No.3, pp. 254-263, doi: 10.20965/jaciii.2011.p0254, 2011.
  11. [11] V. Kazakov and F. J. Király, “Machine Learning Automation Toolbox (MLaut),” arXiv preprint, arXiv:1901.03678, 2019.
  12. [12] B. Guedj and B. S. Desikan, “Pycobra: A Python toolbox for ensemble learning and visualization,” The J. of Machine Learning Research, Vol.18, Issue 1, pp. 6988-6992, 2017.
  13. [13] D. Dua and C. Graff, “UCI Machine Learning Repository,” School of Information and Computer Sciences, University of California, Irvine, 2019, [accessed January 7, 2020]
  14. [14] M. A. Mezher, “GFLibPy: An Open-Source Python Toolbox for Genetic Folding Algorithm,” The Int. Conf. on Global Economic Revolutions (ICGER 2021), pp. 423-437, 2021.
  15. [15] Dask Development Team, “Dask: Library for dynamic task scheduling,” 2016, [accessed February 26, 2020]

*This site is desgined based on HTML5 and CSS3 for modern browsers, e.g. Chrome, Firefox, Safari, Edge, Opera.

Last updated on Jul. 12, 2024