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
  • CMDs
    • Installation
    • Getting Started
    • Miscellaneous
  • GitHub
  • API
  • Converters
  • Core
  • Galleries
  • CMDs
  • Installation
  • Getting Started
  • Miscellaneous
  • GitHub

Section Navigation

  • Core Gallery
    • Command Line: python -m yobx print
    • Comparing the five ONNX translation APIs
    • Comparing the three evaluators
    • Computation Cost: How It Works and Supported Operator Formulas
    • 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
    • Symbolic Cost of a Model: Attention Block
  • LiteRT Gallery
    • Converting a TFLite/LiteRT model to ONNX
  • 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
    • Custom converter with convert options
    • DataFrame input to a Pipeline with ColumnTransformer
    • 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
    • Polars LazyFrame to ONNX
    • SQL queries to ONNX
  • PyTorch Gallery
    • Applying patches to a model and displaying the diff
    • Excel report produced by the torch exporter
    • 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
  • Transformers Gallery
    • Export Tiny-LLM with different ways
    • Export a LLM to ONNX with InputObserver
    • Validate a LLM export and inspect discrepancies
  • 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

Custom converter with convert options

Custom converter with convert options

DataFrame input to a Pipeline with ColumnTransformer

DataFrame input to a Pipeline with ColumnTransformer

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

Converting a TFLite/LiteRT model to ONNX

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.