Skip to main content

Convert scikit-learn models to ONNX

Project description

Introduction

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. Any external converter can be registered to convert scikit-learn pipeline including models or transformers coming from external libraries.

Documentation

Full documentation including tutorials is available at https://onnx.ai/sklearn-onnx/. Supported scikit-learn Models Last supported opset is 15.

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

Installation

You can install from PyPi:

pip install skl2onnx

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

pip install git+https://github.com/onnx/sklearn-onnx.git

Contribute

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

License

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.15.0.tar.gz (14.5 MB view details)

Uploaded Source

Built Distribution

skl2onnx-1.15.0-py2.py3-none-any.whl (294.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file skl2onnx-1.15.0.tar.gz.

File metadata

  • Download URL: skl2onnx-1.15.0.tar.gz
  • Upload date:
  • Size: 14.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for skl2onnx-1.15.0.tar.gz
Algorithm Hash digest
SHA256 05b2c2643ad0357ec1ea684d138438a2df657df828e57d07cb78c2e76be20e37
MD5 892c41d67e0ec7aea5788eb5ac9aa4a4
BLAKE2b-256 75e430f93ab4191bb0b8d83d05d4af1b06ce2a3cf16c3818983ac92b33de3074

See more details on using hashes here.

File details

Details for the file skl2onnx-1.15.0-py2.py3-none-any.whl.

File metadata

  • Download URL: skl2onnx-1.15.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 294.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for skl2onnx-1.15.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 13a9ea5d50619ce42381c67001db8c87ce574a459a8f0738b45d2f4b93f465f6
MD5 72e7f874a3ed14dcd393b09d54e9569f
BLAKE2b-256 c0d1ef96f715f14ab4a11a4382e3eb9fc7a57ee59e3527253a7b21d62ca20402

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