sklearn-porter
sklearn-porter copied to clipboard
Transpile trained scikit-learn estimators to C, Java, JavaScript and others.
I was having difficulties with some of the template combinations and realized that the `.jinja2` files were not being included in the package. This change fixes the examples on my...
Here are my versions : `The scikit-learn 0.21.3` `Python 3.7.13` And here is my code. I used the same example as in the [notebook](https://github.com/nok/sklearn-porter/blob/main/examples/basics/index.pct.ipynb). ``` # 1. Load data and...
The sklearn imports are not longer working with sklearn version higher then 0.20
For text mining it's important to fit also a CountVectorizer (or a TFIDFTransformer), so should be possible to export it in the targhet lenguage
Hello, thanks for maintaining this library. I found a bug related with sklearn's version string. When the version of sklearn contains character sequences like "rc1, rc2", the ValueError blocks to...
Traceback (most recent call last): File "", line 1, in File "//miniconda3/envs/sklearn/lib/python3.7/site-packages/sklearn_porter/Porter.py", line 61, in __init__ sklearn_ver = [int(v) for v in sklearn_ver] File "//miniconda3/envs/sklearn/lib/python3.7/site-packages/sklearn_porter/Porter.py", line 61, in sklearn_ver =...
Hello, dear guys! I have an isolation forest model in Python trained. Sklearn isolation forest model and pyod isolation forest built on sklearn can both work for me. https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.IsolationForest.html?highlight=isolation%20forest#sklearn.ensemble.IsolationForest https://github.com/yzhao062/pyod/blob/master/pyod/models/iforest.py...
Can we add translation for onehot encoder?
Would be great if we could add a Ruby porter for mlogit, thanks! I've been doing some initial work on using the weights/coefficients from sklearn's LogisticRegression classifier in Ruby code,...