.. _f-onnxpipeline: module ``sklapi.onnx_pipeline`` =============================== .. inheritance-diagram:: mlprodict.sklapi.onnx_pipeline Short summary +++++++++++++ module ``mlprodict.sklapi.onnx_pipeline`` A pipeline which serializes into ONNX steps by steps. :githublink:`%|py|5` Classes +++++++ +---------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | class | truncated documentation | +=====================================================================+======================================================================================================================+ | :class:`OnnxPipeline ` | The pipeline overwrites method *fit*, it trains and converts every steps into ONNX before training the next step ... | +---------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ Properties ++++++++++ +--------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------+ | property | truncated documentation | +============================================================================================+==================================================================================================================+ | :py:meth:`_estimator_type ` | | +--------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_final_estimator ` | | +--------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_repr_html_ ` | HTML representation of estimator. This is redundant with the logic of `_repr_mimebundle_`. The latter should ... | +--------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------+ | :meth:`classes_ ` | The classes labels. Only exist if the last step is a classifier. | +--------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------+ | :meth:`feature_names_in_ ` | Names of features seen during first step `fit` method. | +--------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------+ | :meth:`n_features_in_ ` | Number of features seen during first step `fit` method. | +--------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------+ | :meth:`named_steps ` | Access the steps by name. Read-only attribute to access any step by given name. Keys are steps names and ... | +--------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------+ Methods +++++++ +--------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------+ | method | truncated documentation | +==================================================================================================+==================================================================================================================+ | :py:meth:`__init__ ` | | +--------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_fit ` | | +--------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_preprocess_options ` | Preprocesses the options. | +--------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_to_onnx ` | Converts a transformer into ONNX. | +--------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------+ | :meth:`fit ` | Fits the model, fits all the transforms one after the other and transform the data, then fit the transformed ... | +--------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------+ Documentation +++++++++++++ .. automodule:: mlprodict.sklapi.onnx_pipeline :members: :special-members: __init__ :show-inheritance: