I train a RandomForestRegressor model on 64bit python. I pickle the object. When trying to unpickle the object on 32bit python I get the following error:
\'ValueErro
This occurs because the random forest code uses different types for indices on 32-bit and 64-bit machines. This can, unfortunately, only be fixed by overhauling the random forests code. Since several scikit-learn devs are working on that anyway, I put it on the todo list.
For now, the training and testing machines need to have the same pointer size.
For ease, please use python 64 bit version to decentralize your model. I faced the same issue recently. after taking that step it was resolved.
So try running it on a 64 bit version. I hope this helps