Is there a python package that includes decision tree structures that can be used with a genetic algorithm?


I'd like to use decision tree / forest but I need to use a special objective function that can't be differentiated and hence I can't use XGBOost etc. That leaves a genetic algorithm where I use the fitness function to incorporate my special objective.

Other then building everything from scratch, are there any python packages that will allow me to do this easily?


Posted 2020-12-23T21:01:01.257

Reputation: 55

autograd maybe, can differentiate anything – Nikos M. – 2020-12-26T18:07:44.303

No answers