d4617a8be67cf9784161fee75a9a83b0a947974b,ludwig/features/binary_feature.py,BinaryOutputFeature,BinaryOutputFeature_2,#,234

Before Change



    default_validation_metric = ACCURACY

    output_config = OrderedDict([
        (LOSS, {
            "output": EVAL_LOSS,
            "aggregation": SUM,
            "value": 0,
            "type": METRIC
        }),
        (ACCURACY, {
            "output": CORRECT_PREDICTIONS,
            "aggregation": SUM,
            "value": 0,
            "type": METRIC
        }),
        (PREDICTIONS, {
            "output": PREDICTIONS,
            "aggregation": APPEND,
            "value": [],
            "type": PREDICTION
        }),
        (PROBABILITIES, {
            "output": PROBABILITIES,
            "aggregation": APPEND,
            "value": [],
            "type": PREDICTION
        })
    ])

    @staticmethod
    def update_model_definition_with_metadata(
            input_feature,

After Change


            }
        )

    decoder_registry = {
        "regressor": Regressor,
        "null": Regressor,
        "none": Regressor,
        "None": Regressor,
        None: Regressor
    }
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: uber/ludwig
Commit Name: d4617a8be67cf9784161fee75a9a83b0a947974b
Time: 2020-03-21
Author: jimthompson5802@aol.com
File Name: ludwig/features/binary_feature.py
Class Name: BinaryOutputFeature
Method Name: BinaryOutputFeature_2


Project Name: uber/ludwig
Commit Name: 634e0bc551c0ed47fc8a8e08dc677739091d3435
Time: 2020-05-13
Author: dudin@uber.com
File Name: ludwig/features/set_feature.py
Class Name: SetOutputFeature
Method Name: SetOutputFeature_1


Project Name: catalyst-team/catalyst
Commit Name: 2775c15702fd52f081ff8fded51f4f38877659df
Time: 2019-08-01
Author: scitator@gmail.com
File Name: examples/_tests_scripts/z_classification.py
Class Name:
Method Name: