37acb137b1bc42319cf759b73270517c2147698a,ludwig/features/text_feature.py,TextInputFeature,populate_defaults,#Any#,237

Before Change


    @staticmethod
    def populate_defaults(input_feature):
        set_default_value(input_feature, "tied_weights", None)
        set_default_value(input_feature, "encoder", "parallel_cnn")
        set_default_value(input_feature, "level", "word")


class TextOutputFeature(TextBaseFeature, SequenceOutputFeature):

After Change


    def populate_defaults(input_feature):
        set_default_values(
            input_feature,
            {
                "tied_weights": None,
                "encoder": "parallel_cnn",
                "level": "word"
            }
        )


class TextOutputFeature(TextBaseFeature, SequenceOutputFeature):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: uber/ludwig
Commit Name: 37acb137b1bc42319cf759b73270517c2147698a
Time: 2019-08-02
Author: smiryala@uber.com
File Name: ludwig/features/text_feature.py
Class Name: TextInputFeature
Method Name: populate_defaults


Project Name: uber/ludwig
Commit Name: 37acb137b1bc42319cf759b73270517c2147698a
Time: 2019-08-02
Author: smiryala@uber.com
File Name: ludwig/features/text_feature.py
Class Name: TextOutputFeature
Method Name: populate_defaults


Project Name: uber/ludwig
Commit Name: 37acb137b1bc42319cf759b73270517c2147698a
Time: 2019-08-02
Author: smiryala@uber.com
File Name: ludwig/features/numerical_feature.py
Class Name: NumericalOutputFeature
Method Name: populate_defaults


Project Name: uber/ludwig
Commit Name: 37acb137b1bc42319cf759b73270517c2147698a
Time: 2019-08-02
Author: smiryala@uber.com
File Name: ludwig/features/binary_feature.py
Class Name: BinaryOutputFeature
Method Name: populate_defaults