Closed ltfx closed 2 years ago
Hello everyone, I use deap to write a GP code ,but in my question, the number of input in gp is dynamic change,example: sometimes f = fun(a,b) sometimes f = fun(a1,a2,b1,b2) someone have idea to solve this question? thanks very much!
you can use a list or variable length parameter in python
Hello everyone, I use deap to write a GP code ,but in my question, the number of input in gp is dynamic change,example: sometimes f = fun(a,b) sometimes f = fun(a1,a2,b1,b2) someone have idea to solve this question? thanks very much!