Skip to content

xadupre/scikit-onnxruntime

Repository files navigation

docs/logo_main.png

https://dev.azure.com/xadupre/scikit-onnxruntime/_apis/build/status/xadupre.scikit-onnxruntime?branchName=master

Introduction

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

About

Scikit-learn wrapper for onnxruntime

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages