nok / sklearn-porter

Transpile trained scikit-learn estimators to C, Java, JavaScript and others.
BSD 3-Clause "New" or "Revised" License
1.28k stars 170 forks source link

How to port a classifier? #25

Closed tomfisher closed 6 years ago

tomfisher commented 6 years ago

Hi,

This is a great tool and I've been looking for a while.

A classifier such as GradientBoostingClassifier is needed, we have to write to you for a feature request. Actually, I don't mind implementing such one and giving it back to this repo. I checked the document and did not find any article about how to implement a classifier in sklearn.

It would be extremely helpful for this project and other users like me.

Thanks.

nok commented 6 years ago

Hello Tom,

RandomForestClassifier (example), ExtraTreesClassifier (example) and the AdaBoostClassifier (example) are similar to the GradientBoostingClassifier. The GradientBoostingClassifier will be supported in the next release I guess.

Darius

tomfisher commented 6 years ago

Thanks