.. _f-validateproblems: module ``onnxrt.validate.validate_problems`` ============================================ Short summary +++++++++++++ module ``mlprodict.onnxrt.validate.validate_problems`` Validates runtime for many :scikit-learn: operators. The submodule relies on :epkg:`onnxconverter_common`, :epkg:`sklearn-onnx`. :githublink:`%|py|8` Functions +++++++++ +-----------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | function | truncated documentation | +===========================================================================================================================================================+=========================================================================================================================+ | :func:`_modify_dimension ` | Modifies the number of features to increase or reduce the number of features. | +-----------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :func:`_problem_for_cl_decision_function ` | Returns *X, y, intial_types, method, name, X runtime* for a scoring problem. It is based on Iris dataset. | +-----------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :func:`_problem_for_cl_decision_function_binary ` | Returns *X, y, intial_types, method, name, X runtime* for a scoring problem. Binary classification. It is based ... | +-----------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :func:`_problem_for_clnoproba ` | Returns *X, y, intial_types, method, name, X runtime* for a scoring problem. It is based on Iris dataset. | +-----------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :func:`_problem_for_clnoproba_binary ` | Returns *X, y, intial_types, method, name, X runtime* for a scoring problem. Binary classification. It is based ... | +-----------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :func:`_problem_for_clustering ` | Returns *X, intial_types, method, name, X runtime* for a clustering problem. It is based on Iris dataset. | +-----------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :func:`_problem_for_clustering_scores ` | Returns *X, intial_types, method, name, X runtime* for a clustering problem, the score part, not the cluster. It ... | +-----------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :func:`_problem_for_dict_vectorizer ` | Returns a problem for the :epkg:`sklearn:feature_extraction:DictVectorizer`. | +-----------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :func:`_problem_for_feature_hasher ` | Returns a problem for the :epkg:`sklearn:feature_extraction:DictVectorizer`. | +-----------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :func:`_problem_for_label_encoder ` | Returns a problem for the :epkg:`sklearn:preprocessing:LabelEncoder`. | +-----------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :func:`_problem_for_mixture ` | Returns *X, y, intial_types, method, node name, X runtime* for a m-cl classification problem. It is based on Iris ... | +-----------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :func:`_problem_for_numerical_scoring ` | Returns *X, y, intial_types, method, name, X runtime* for a scoring problem. It is based on Iris dataset. | +-----------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :func:`_problem_for_numerical_trainable_transform ` | Returns *X, intial_types, method, name, X runtime* for a transformation problem. It is based on Iris dataset. | +-----------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :func:`_problem_for_numerical_trainable_transform_cl ` | Returns *X, intial_types, method, name, X runtime* for a transformation problem. It is based on Iris dataset. | +-----------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :func:`_problem_for_numerical_transform ` | Returns *X, intial_types, method, name, X runtime* for a transformation problem. It is based on Iris dataset. | +-----------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :func:`_problem_for_numerical_transform_positive ` | Returns *X, intial_types, method, name, X runtime* for a transformation problem. It is based on Iris dataset. | +-----------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :func:`_problem_for_one_hot_encoder ` | Returns a problem for the :epkg:`sklearn:preprocessing:OneHotEncoder`. | +-----------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :func:`_problem_for_outlier ` | Returns *X, intial_types, method, name, X runtime* for a transformation problem. It is based on Iris dataset. | +-----------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :func:`_problem_for_predictor_binary_classification ` | Returns *X, y, intial_types, method, node name, X runtime* for a binary classification problem. It is based on Iris ... | +-----------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :func:`_problem_for_predictor_multi_classification ` | Returns *X, y, intial_types, method, node name, X runtime* for a m-cl classification problem. It is based on Iris ... | +-----------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :func:`_problem_for_predictor_multi_classification_label ` | Returns *X, y, intial_types, method, node name, X runtime* for a m-cl classification problem. It is based on Iris ... | +-----------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :func:`_problem_for_predictor_multi_regression ` | Returns *X, y, intial_types, method, name, X runtime* for a mregression problem. It is based on Iris dataset. | +-----------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :func:`_problem_for_predictor_regression ` | Returns *X, y, intial_types, method, name, X runtime* for a regression problem. It is based on Iris dataset. | +-----------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :func:`_problem_for_tfidf_transformer ` | Returns a problem for the :epkg:`sklearn:feature_extraction:text:TfidfTransformer`. | +-----------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :func:`_problem_for_tfidf_vectorizer ` | Returns a problem for the :epkg:`sklearn:feature_extraction:text:TfidfVectorizer`. | +-----------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :func:`find_suitable_problem ` | Determines problems suitable for a given :epkg:`scikit-learn` operator. It may be | +-----------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+ Documentation +++++++++++++ .. automodule:: mlprodict.onnxrt.validate.validate_problems :members: :special-members: __init__ :show-inheritance: