7c7872a8c1511e81073275eda2ce31472a0399d0,optuna/samplers/__init__.py,,product_search_space,#Any#,13

Before Change


        for param_name, param_distribution in search_space.items():
            if param_name not in trial.distributions:
                delete_list.append(param_name)
            elif trial.distributions[param_name] != param_distribution:
                delete_list.append(param_name)

        for param_name in delete_list:

After Change


        "`product_search_space` function is deprecated. "
        "Please use `intersection_search_space` function instead.", DeprecationWarning)

    logger = logging.get_logger(__name__)
    logger.warning("`product_search_space` function is deprecated. "
                   "Please use `intersection_search_space` function instead.")

    return intersection_search_space(study)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pfnet/optuna
Commit Name: 7c7872a8c1511e81073275eda2ce31472a0399d0
Time: 2019-07-24
Author: phjgt308@gmail.com
File Name: optuna/samplers/__init__.py
Class Name:
Method Name: product_search_space


Project Name: open-mmlab/mmdetection
Commit Name: 8a9bc1ce33166050e8f21b39e2187e10d7330f3e
Time: 2020-05-04
Author: xvjiarui0826@gmail.com
File Name: mmdet/utils/logger.py
Class Name:
Method Name: get_root_logger


Project Name: BerkeleyAutomation/gqcnn
Commit Name: f01bfefa80f350fcbfd18949ecc49f71263519dd
Time: 2018-10-23
Author: vsatish@berkeley.edu
File Name: gqcnn/grasping/policy/fc_policy.py
Class Name: FullyConvolutionalGraspingPolicy
Method Name: __init__