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 =

ot = OnnxTransformer(content, output_name="output_probability"), y_train)



Full documentation including tutorials is available at

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


You can install from PyPi:

pip install skonnxrt

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

pip install git+


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


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.

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page