Skip to main content

Scikit-learn wrapper of onnxruntime

Project description

scikit-onnxruntime wraps onnxruntime with scikit-learn API.

with open("rf_iris.onnx", "rb") as f:
    content = f.read()

ot = OnnxTransformer(content, output_name="output_probability")
ot.fit(X_train, y_train)

print(ot.transform(X_test[:5]))

Documentation

Full documentation including tutorials is available at xadupre.github.io.

You may also find answers in existing issues or submit a new one.

Installation

You can install from PyPi:

pip install skonnxrt

Or you can install from the source with the latest changes:

pip install git+https://github.com/xadupre/scikit-onnxruntime.git

Contribute

We welcome contributions in the form of feedback, ideas, or code.

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

scikit_onnxruntime-0.2.1.4-py2.py3-none-any.whl (6.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file scikit_onnxruntime-0.2.1.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for scikit_onnxruntime-0.2.1.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ecbd79523a027851a6822bdd9a21dd948eab6a3d20009981dbb6cd3ec35a8496
MD5 f457917475b7e8239079119724034f08
BLAKE2b-256 358fc5d7c687b73b1f32522b07c56324a00b5bdc25cb762088295b5936d1b0e4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page