Relative Content

Tag Archive for python-3.xscikit-learnrandom-forest

export random forest model with skompiler exceeding recursion limit

I have a random forest model that I’ve trained in python 3.12.0 with scikit-learn 1.3.0. I’m trying to then export the model weights to excel with skompiler 0.7. I’m getting the RecursionError below when I run the code below. Do you have any idea what the issue might be and can you suggest how to fix it? rf is the pretrained random forest model.