401d78baaffb0751f2d9fb8f1c4c51a848d35020,tests/sklearn/test_LabelEncoderConverter.py,TestSklearnLabelEncoderConverter,test_label_encoder_converter,#TestSklearnLabelEncoderConverter#,17

Before Change


        model = LabelEncoder()
        model.fit(["str3", "str2", "str0", "str1", "str3"])

        model_onnx = convert_sklearn(model, "scikit-learn label encoder", [StringTensorType([1, 1])])
        self.assertTrue(model_onnx.graph.node is not None)

After Change


        model = LabelEncoder()
        model.fit(["str3", "str2", "str0", "str1", "str3"])

        model_onnx = convert_sklearn(model, "scikit-learn label encoder", [("input", StringTensorType([1, 1]))])
        self.assertTrue(model_onnx.graph.node is not None)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: onnx/onnxmltools
Commit Name: 401d78baaffb0751f2d9fb8f1c4c51a848d35020
Time: 2018-04-24
Author: wschin@outlook.com
File Name: tests/sklearn/test_LabelEncoderConverter.py
Class Name: TestSklearnLabelEncoderConverter
Method Name: test_label_encoder_converter


Project Name: onnx/onnxmltools
Commit Name: 401d78baaffb0751f2d9fb8f1c4c51a848d35020
Time: 2018-04-24
Author: wschin@outlook.com
File Name: tests/sklearn/test_LabelEncoderConverter.py
Class Name: TestSklearnLabelEncoderConverter
Method Name: test_model_label_encoder


Project Name: onnx/onnxmltools
Commit Name: 401d78baaffb0751f2d9fb8f1c4c51a848d35020
Time: 2018-04-24
Author: wschin@outlook.com
File Name: tests/sklearn/test_pipeline.py
Class Name: TestSklearnPipeline
Method Name: test_combine_inputs_with_string