6d6c0358397e35c139885853e5d6dc92422bb781,snips_nlu/config.py,,,#,51
Before 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):
After Change
pass
_SlotFillerDataAugmentationConfig = namedtuple_with_defaults(
"SlotFillerDataAugmentationConfig",
"min_utterances capitalization_ratio",
{
"min_utterances": 200,
"capitalization_ratio": .2
}
)
class SlotFillerDataAugmentationConfig(_SlotFillerDataAugmentationConfig,
NamedTupleConfigMixin,
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 7
Instances
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: e9c4e5eb318944d8f4f352893d5729677a117580
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: e9c4e5eb318944d8f4f352893d5729677a117580
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: 0ae5d6d43d879e0693574965d525c41a39e59c5f
Time: 2017-10-06
Author: clement.doumouro@snips.ai
File Name: snips_nlu/config.py
Class Name:
Method Name: