Skip to main content

Convert scikit-learn models to ONNX

Project description


sklearn-onnx converts scikit-learn models to ONNX. Once in the ONNX format, you can use tools like ONNX Runtime for high performance scoring. All converters are tested with onnxruntime.


Full documentation including tutorials is available at Supported scikit-learn Models Last supported opset is 15.

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


You can install from PyPi:

pip install skl2onnx

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.


Apache License v2.0

Project details

Download files

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

Source Distribution

skl2onnx-1.13.tar.gz (872.6 kB view hashes)

Uploaded source

Built Distribution

skl2onnx-1.13-py2.py3-none-any.whl (288.7 kB view hashes)

Uploaded py2 py3

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