Différences entre les versions de « Non-linear regression using Genetic Programming »

De
Aller à la navigation Aller à la recherche
Ligne 14 : Ligne 14 :
 
[[File:NonLinearFunction.png|Non-Linear Function|500px]]
 
[[File:NonLinearFunction.png|Non-Linear Function|500px]]
  
Here is a good run with seed 2
+
Here is a good run with seed 2:
  
<p style="font-size:8px">
+
{{small|
 
<pre>
 
<pre>
 
collet@biplan:~/regression$ easena ./regression.ez -gp ; make ;./regression --nbCPUThreads 20 --plotStats 0 --seed 2
 
collet@biplan:~/regression$ easena ./regression.ez -gp ; make ;./regression --nbCPUThreads 20 --plotStats 0 --seed 2
Ligne 103 : Ligne 103 :
 
----------
 
----------
 
collet@biplan:~/regression$
 
collet@biplan:~/regression$
</pre></p>
+
</pre>}}

Version du 10 avril 2021 à 05:14

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