# sklearn2gem
[](https://travis-ci.org/stewartpark/sklearn2gem) [](https://requires.io/github/stewartpark/sklearn2gem/requirements/?branch=master) [](https://badge.fury.io/py/sklearn2gem)
⚡ sklearn2gem ports your scikit-learn model into a fast ruby C binding!
# Getting started
Install sklearn2gem using pip:
` pip install sklearn2gem `
or via easy_install:
` easy_install sklearn2gem `
After that, dump your scikit-learn model with sklearn.externals.joblib, and run sklearn2gem model_name@version your_model.pkl foo/bar/model_name. You should be able to see a newly created folder named model_name under foo/bar/.
See [examples/iris.py](https://github.com/stewartpark/sklearn2gem/blob/master/examples/iris.py) to try it out.
To produce a pre-compiled binary gem, use [gem-compiler](https://github.com/luislavena/gem-compiler).
# What machine learning algorithms are supported?
Since sklearn2gem uses nok/sklearn-porter to convert a model into a C file, you can refer to [this page](https://github.com/nok/sklearn-porter#machine-learning-algorithms).
Metadata
Release files for sklearn2gem 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sklearn2gem-0.1.1.tar.gz | 4.4 kB | Without provenance | Details for sklearn2gem-0.1.1.tar.gz |
Release files / sklearn2gem-0.1.1.tar.gz
| Download URL | sklearn2gem-0.1.1.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
09320f31e77a4b10342b164e340308f4c6732756a1b83586cf330dc89a47a425
|
|
BLAKE2b-256 checksum How to use checksums |
5fa32189cea4405cbc56d87f2f1b1c6350d6d85a418a1a496ea1fc3bf4bbd715
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for sklearn2gem 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.