sklearn-porter icon indicating copy to clipboard operation
sklearn-porter copied to clipboard

Transpile trained scikit-learn estimators to C, Java, JavaScript and others.

Results 46 sklearn-porter issues
Sort by recently updated
recently updated
newest added

I fount that N_vector size of the exported C is not the same with the size of the training sample. Method: I use the sample code on https://github.com/nok/sklearn-porter/blob/stable/examples/estimator/classifier/SVC/c/basics.pct.ipynb to export...

fix a small error in export java code of BernoulliNB.

Currently i am generating my java file with training "uniform" weights but i want to generate java code with the "distance" weights. When i am trying to generate it with...

enhancement
question
1.0.0

I tried looking in the docs, in the examples and I cannot find what it does. Can someone explain me?

Just wondering if there is an ETA for a JS implementation for RandomForestRegressor? Thanks!

question
new feature

I saw that the `predict` or `integrity_score` is running quite slow. 1. I've added functionality to let it run with `threading`, making it much faster. It adds a dependency on...

Hi, Great work with Porter really helpful! The next is a small issue but one that took me a good time to debug so here I wanted to post as...

bug
enhancement
1.0.0

C code exported by porter has wrong data type for feature value as double which will cause accuracy percentage. scikit-learn code ``` def predict(self, X, check_input=True): """Predict class or regression...

1.0.0