Hi,
I am starting to use the Deap framework in order to complete my MSc project. The topic of my dissertation is to apply Machine Learning techniques to finance and I have chosen to focus on genetic programming.
To get started, I read the documentation and tried to understand some of the examples provided, including symbreg.py. I have been trying to print the solution, but the stringify function was removed from the framework and I could not figure out how to do without it. I tried adding these lines at the end of main():
tree = gp.PrimitiveTree(hof)
print(tree)
but I get the following error message:
AttributeError: 'Individual' object has no attribute 'arity'
I also tried:
print(hof)
but it would print a list of object references.
Could anyone please guide me?
Lionel