.. _f-opclassifierstring: module ``onnxrt.ops_cpu._op_classifier_string`` =============================================== .. inheritance-diagram:: mlprodict.onnxrt.ops_cpu._op_classifier_string Short summary +++++++++++++ module ``mlprodict.onnxrt.ops_cpu._op_classifier_string`` Common class for classifiers supporting strings. :githublink:`%|py|5` Classes +++++++ +-----------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | class | truncated documentation | +===============================================================================================+=======================================================================================================================+ | :class:`_ClassifierCommon ` | Labels strings are not natively implemented in C++ runtime. The class stores the strings labels, replaces them by ... | +-----------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ Methods +++++++ +---------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------+ | method | truncated documentation | +=============================================================================================================================================+=============================================================================================+ | :py:meth:`_post_process_label_attributes ` | Replaces string labels by int64 labels. It creates attributes *_classlabels_int64s_string*. | +---------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------+ | :py:meth:`_post_process_predicted_label ` | Replaces int64 predicted labels by the corresponding strings. | +---------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------+ Documentation +++++++++++++ .. automodule:: mlprodict.onnxrt.ops_cpu._op_classifier_string :members: :special-members: __init__ :show-inheritance: