Ask Your Question

Revision history [back]

How do I save and upload a random forest once I have trained it?

I used OpenCV code to train a random forest classifier. But I cannot find any documentation on how to save and upload it to use. I don't want to have to retrain it each time. Does anyone have the code for doing this?