Is there a way with gplearn to get the program provided by the symbolic regressor e.g. ˋsub(div(mul(X4, X12), div(X9, X9)), sub(div(X11, X12), add(X12, X0)))ˋ into an executable Python program e.g.
def prog(X0, X4, X9, X11, X12):
return … (X4 * X12) …
Would it be useful to enhance this in gplearn, or is there better ways to do this?