6165fc267993ef3b58ca918f623a7e344729e6dd,optuna/importance/_fanova.py,,_get_distributions,#Any#,39
Before Change
distributions = {} // type: Dict[str, BaseDistribution]
for trial in trials:
for name, distribution in trial.distributions.items():
if name not in distributions:
distributions[name] = distribution
else:
// TODO(hvy): Update low, high, choices, etc. to cover the entire search space.
// Search spaces may vary between trials.
pass
distributions = OrderedDict([(name, distributions[name]) for name in sorted(distributions)])
return distributions
After Change
// Condtional hyperparameters are excluded here since we are taking the intersection.
distributions = intersection_search_space(study)
distributions = OrderedDict(sorted(distributions.items(), key=lambda x: x[0]))
return distributions
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: pfnet/optuna
Commit Name: 6165fc267993ef3b58ca918f623a7e344729e6dd
Time: 2020-02-27
Author: hiroyuki.vincent.yamazaki@gmail.com
File Name: optuna/importance/_fanova.py
Class Name:
Method Name: _get_distributions
Project Name: jazzband/django-debug-toolbar
Commit Name: 842ed8a0e9d4e4ccadd6114147f8e2805b0a251c
Time: 2013-11-01
Author: aymeric.augustin@m4x.org
File Name: debug_toolbar/panels/headers.py
Class Name: HeaderDebugPanel
Method Name: process_request
Project Name: matplotlib/matplotlib
Commit Name: cbc060c8fe914bb3c75f42f3af4fc40b0eadba52
Time: 2018-02-25
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/artist.py
Class Name:
Method Name: setp
Project Name: keras-team/keras
Commit Name: 8bfafd6d7f814bcd0e77f6f34c17c2c9a003a02b
Time: 2015-09-22
Author: eder@macbook.com
File Name: keras/layers/core.py
Class Name: Merge
Method Name: get_output