3a32d6e84f48d646da3ca1f4c7eeda31850a2968,ludwig/utils/hyperopt_utils.py,,update_hyperopt_params_with_defaults,#Any#,798

Before Change


        }
    )

    if hyperopt_params[EXECUTOR]["type"] == "parallel":
        set_default_values(
            hyperopt_params[EXECUTOR],
            {
                "num_workers": 4
            }
        )


def set_values(model_dict, name, parameters_dict):
    if name in parameters_dict:
        params = parameters_dict[name]
        for key, value in params.items():

After Change


        }
    )

    strategy = get_from_registry(
        hyperopt_params[STRATEGY]["type"], strategy_registry
    )
    strategy_defaults = {
        k: v for k, v in strategy.__dict__.items()
        if k in get_class_attributes(strategy)
    }
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: uber/ludwig
Commit Name: 3a32d6e84f48d646da3ca1f4c7eeda31850a2968
Time: 2020-05-04
Author: w4nderlust@gmail.com
File Name: ludwig/utils/hyperopt_utils.py
Class Name:
Method Name: update_hyperopt_params_with_defaults


Project Name: uber/ludwig
Commit Name: fcb01e3b18c0b3304c4ff0b1f0b8b4ede518f762
Time: 2020-12-03
Author: jimthompson5802@gmail.com
File Name: ludwig/features/numerical_feature.py
Class Name: NumericalFeatureMixin
Method Name: get_feature_meta


Project Name: uber/ludwig
Commit Name: fcb01e3b18c0b3304c4ff0b1f0b8b4ede518f762
Time: 2020-12-03
Author: jimthompson5802@gmail.com
File Name: ludwig/features/numerical_feature.py
Class Name: NumericalFeatureMixin
Method Name: add_feature_data