Skip to main content

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

Metadata

Release files for scikit-onnxruntime 0.2.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for scikit-onnxruntime 0.2.1.4
File Interpreter ABI Platform
scikit_onnxruntime-0.2.1.4-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / scikit_onnxruntime-0.2.1.4-py2.py3-none-any.whl

Download URL scikit_onnxruntime-0.2.1.4-py2.py3-none-any.whl
Size 6.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ecbd79523a027851a6822bdd9a21dd948eab6a3d20009981dbb6cd3ec35a8496
BLAKE2b-256 checksum
How to use checksums
358fc5d7c687b73b1f32522b07c56324a00b5bdc25cb762088295b5936d1b0e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.7

Release history Release notifications | RSS feed

This release

0.2.1.4 This release

1 release file

0.2.1.3

1 release file

0.2.1.2

1 release file

0.2.1.1

1 release file

0.2.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page