ONNX Converters and Runtime

mlprodict implements two runtimes. The first uses numpy and implements mathematical functions defined by ONNX. The second one leverages onnxruntime to compute the output of every node using onnxruntime but python stills handles the graph logic. A last one just wraps onnxruntime to compute predictions, it handles the graph and operators runtimes.

sklearn-onnx converts many scikit-learn models to ONNX, it rewrites the prediction function using ONNX Operators and ONNX ML Operators. The current package mlprodict implements a Python Runtime for ONNX operators.

All results were obtained using out the following versions of modules below:

<<<

from mlprodict.onnxrt.validate.validate_helper import modules_list
from pyquickhelper.pandashelper import df2rst
from pandas import DataFrame
print(df2rst(DataFrame(modules_list())))

>>>

name

version

mlprodict

0.4.1334

numpy

1.19.4

onnx

1.8.1072

onnxmltools

1.7.92

onnxruntime

1.5.994

pandas

1.1.4

scipy

1.5.4

skl2onnx

1.7.1092

sklearn

0.23.2