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

Hello, dear guys. Thanks for sharing. I used your transferred framework with RandomForest and ExtraTreeClassifier. It reports the memory leakage issue log. > I/zygote: Background concurrent copying GC freed 21(80KB)...

enhancement
new feature

Hello, Is there a problem with `integrity_score`? ```python # Porting porter = Porter(svc_model, language='c') # Calculate Integrity Score integrity = porter.integrity_score(standardized_features_frame) # Print score print(integrity) # Export C code output...

enhancement
high priority

1) Is there some way to generate C code which would give me floating point probabilities for every prediction category instead of a binary result? I am using the ExtraTreeModel...

enhancement
new feature

I'm using porter 0.7.4. I updated to scikit-learn 0.24.1 (using conda) and got the error: ModuleNotFoundError: No module named 'sklearn.tree.tree' It seems like the imports have changed?? I got it...

bug
high priority

I'm using porter 0.7.4. and scikit-learn 0.20.0 (using conda) and When I used “from sklearn_porter import Porter” I got the error: ImportError: cannot import name 'Porter' Why about it?

question

This pull request updates the version of scikit-learn used by sklearn-porter to the current stable release (>-1.0.1). Changes comprise: - updating the specified version of scikit-learn in requirements.txt - fixed...

I have implemented the feature of transforming multilabel/multi-output decision tree Classifier into c language. Each output of decision tree or each dimension of predicted vector is binary-class (0 or 1)....

I'm creating a Random Forest Classifier that features 248 inputs and 108 outputs. Based on the Boolean state of each input the 108 outputs will be on or off (They...

If gamma is 'scale', use the computed value stored on the estimator object, rather than repr of the string `'scale'`. reference: https://github.com/scikit-learn/scikit-learn/blob/main/sklearn/svm/_base.py#L206-L210

Firstly, thank you for this great project. For models involving decision tree such as decision tree, random forrest, the probability of the predictions is often as crucial as predictions themselves...

enhancement
question
new feature
1.0.0