0ae5d6d43d879e0693574965d525c41a39e59c5f,snips_nlu/config.py,,,#,41

Before Change


        return cls(**obj_dict)


_IntentClassificationConfig = namedtuple_with_defaults(
    "_IntentClassificationConfig",
    "data_augmentation_config",
    {
        "data_augmentation_config": DataAugmentationConfig()
    }
)

After Change


    pass


_IntentClassifierConfig = namedtuple_with_defaults(
    "_IntentClassifierConfig",
    "data_augmentation_config noise_factor log_reg_args",
    {
        "data_augmentation_config": DataAugmentationConfig(min_utterances=20),
        "noise_factor": 5,
        "log_reg_args":
            {
                "loss": "log",
                "penalty": "l2",
                "class_weight": "balanced",
                "n_iter": 5,
                "random_state": 42,
                "n_jobs": -1
            }
    }
)


class IntentClassifierConfig(_IntentClassifierConfig,
                             NamedTupleConfigMixin):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 10

Instances


Project Name: snipsco/snips-nlu
Commit Name: 0ae5d6d43d879e0693574965d525c41a39e59c5f
Time: 2017-10-06
Author: clement.doumouro@snips.ai
File Name: snips_nlu/config.py
Class Name:
Method Name:


Project Name: snipsco/snips-nlu
Commit Name: 6d6c0358397e35c139885853e5d6dc92422bb781
Time: 2017-10-11
Author: clement.doumouro@snips.ai
File Name: snips_nlu/config.py
Class Name:
Method Name:


Project Name: snipsco/snips-nlu
Commit Name: 6d6c0358397e35c139885853e5d6dc92422bb781
Time: 2017-10-11
Author: clement.doumouro@snips.ai
File Name: snips_nlu/config.py
Class Name:
Method Name: