[scikit-learn] How to dump a model to txt file?

老陈 26743610 at qq.com
Thu Apr 13 16:58:44 EDT 2017


Hi,

I am working on GradientBoostingRegressor these days and I am wondering if there is a way to dump the model into txt file, or any other format that can be processed by c++

My production system is in c++, so I want use the python-trained tree model in c++ for production.

Has anyone ever done this before?

thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20170414/edfcec7d/attachment.html>


More information about the scikit-learn mailing list