modify python code of symbolic regression
Budget: $10 – $30 USD
hi,
I have the python code main2.py. it does symbolic regression for the points in the file regression.txt attached.
for the program to run you should install library named deap. this library contains a file named algorithms.py that include the function eaSimple that does the symbolic regression.
right now it runs a given number of generations and stops when it arrive to this number of generations.
you need to modify aeSimple in such a way that it would stop either it reaches the given number of generation or the fitness reaches a certain given value.
I have the python code main2.py. it does symbolic regression for the points in the file regression.txt attached.
for the program to run you should install library named deap. this library contains a file named algorithms.py that include the function eaSimple that does the symbolic regression.
right now it runs a given number of generations and stops when it arrive to this number of generations.
you need to modify aeSimple in such a way that it would stop either it reaches the given number of generation or the fitness reaches a certain given value.