Skip to main content
Ctrl+K
yet-another-onnx-builder 0.1.0 documentation - Home yet-another-onnx-builder 0.1.0 documentation - Home
  • API
  • Converters
  • Core
  • Galleries
  • Command Lines
    • Installation
    • Getting Started
    • Miscellaneous
  • GitHub
  • API
  • Converters
  • Core
  • Galleries
  • Command Lines
  • Installation
  • Getting Started
  • Miscellaneous
  • GitHub

Section Navigation

  • Core Gallery
    • Command Line: python -m yobx print
    • Comparing the four ONNX translation APIs
    • Comparing the three evaluators
    • Computed Shapes: Add + Concat + Reshape
    • Expressions in Shape Computation
    • ExtendedReferenceEvaluator: running models with contrib operators
    • MiniOnnxBuilder: serialize tensors to an ONNX model
    • ONNX Graph Visualization with to_dot
  • Scikit-learn Gallery
    • Converting a scikit-learn KMeans to ONNX
    • Converting a scikit-learn Pipeline to ONNX
    • Converting a scikit-learn model to ONNX with spox
    • Converting sksurv IPCRidge to ONNX
    • Exporting FunctionTransformer with numpy tracing
    • Exporting sklearn estimators as ONNX local functions
    • Exporting sklearn tree models with convert options
    • Float32 vs Float64: precision loss with PLSRegression
    • KNeighbors: choosing between CDist and standard ONNX
    • Using sklearn-onnx to convert any scikit-learn estimator
  • SQL Gallery
    • SQL queries to ONNX
  • PyTorch Gallery
    • Applying patches to a model and displaying the diff
    • Export a LLM with InputObserver (with Tiny-LLM)
    • InputObserver with Transformers Cache
    • InputObserver: recording inputs for ONNX export
    • Registering a custom class as a pytree node
  • TensorFlow Gallery
    • Converting a JAX function to ONNX
    • Converting a TensorFlow/Keras model to ONNX
  • LiteRT Gallery
    • Converting a TFLite/LiteRT model to ONNX
  • Galleries
  • Scikit-learn Gallery

Scikit-learn Gallery#

Examples about converting scikit-learn estimators and pipelines to ONNX.

Converting a scikit-learn KMeans to ONNX

Converting a scikit-learn KMeans to ONNX

Converting a scikit-learn Pipeline to ONNX

Converting a scikit-learn Pipeline to ONNX

Converting a scikit-learn model to ONNX with spox

Converting a scikit-learn model to ONNX with spox

Converting sksurv IPCRidge to ONNX

Converting sksurv IPCRidge to ONNX

Exporting FunctionTransformer with numpy tracing

Exporting FunctionTransformer with numpy tracing

Exporting sklearn estimators as ONNX local functions

Exporting sklearn estimators as ONNX local functions

Exporting sklearn tree models with convert options

Exporting sklearn tree models with convert options

Float32 vs Float64: precision loss with PLSRegression

Float32 vs Float64: precision loss with PLSRegression

KNeighbors: choosing between CDist and standard ONNX

KNeighbors: choosing between CDist and standard ONNX

Using sklearn-onnx to convert any scikit-learn estimator

Using sklearn-onnx to convert any scikit-learn estimator

Download all examples in Python source code: auto_examples_sklearn_python.zip

Download all examples in Jupyter notebooks: auto_examples_sklearn_jupyter.zip

Gallery generated by Sphinx-Gallery

previous

ONNX Graph Visualization with to_dot

next

Converting a scikit-learn KMeans to ONNX

This Page

  • Show Source

Created using Sphinx 9.1.0.

Built with the PyData Sphinx Theme 0.16.1.