Non-linear regression using Genetic Programming

De
Aller à la navigation Aller à la recherche

regression.ez code

If you don't have an NVIDIA GPGPU card on your machine, please compile with:

$ easena ./regression.ez -gp ; make

and launched with:

$ ./regression --nbCPUThreads 20

If you have a multi-core CPU, EASEA parallelizes will parallelize over several threads using OpenMP. In order to use up to 20 threads (depending on the number of cores of your CPU), you can launch the program with:

$ ./regression --nbCPUThreads 20

The objective is to find back the following non-linear equation: y=4*sin(3*x)+x*x/10

Non-Linear Function

Here is a good run with seed 2:

Modèle:Small