ccdd6a0cb1df06715d556705255f05a94e414146,optuna/visualization/_contour.py,,_generate_contour_subplot,#Any#Any#Any#Any#Any#,185
Before Change
if param_values_range is None:
param_values_range = {}
x_indices = sorted(list({t.params[x_param] for t in trials if x_param in t.params}))
y_indices = sorted(list({t.params[y_param] for t in trials if y_param in t.params}))
if len(x_indices) < 2:
_logger.warning("Param {} unique value length is less than 2.".format(x_param))
return go.Contour(), go.Scatter()
After Change
x_value = trial.params[x_param]
y_value = trial.params[y_param]
if _is_categorical(trials, x_param):
x_value = str(x_value)
if _is_categorical(trials, y_param):
y_value = str(y_value)
x_values.append(x_value)
y_values.append(y_value)
x_i = x_indices.index(x_value)
y_i = y_indices.index(y_value)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances Project Name: pfnet/optuna
Commit Name: ccdd6a0cb1df06715d556705255f05a94e414146
Time: 2020-10-13
Author: syameimaru_kurumi@pku.edu.cn
File Name: optuna/visualization/_contour.py
Class Name:
Method Name: _generate_contour_subplot
Project Name: bokeh/bokeh
Commit Name: a6e3f06dff54fe4f34bf02a81e53852fa95b227d
Time: 2015-08-30
Author: nroth@dealnews.com
File Name: bokeh/charts/builder/bar_builder.py
Class Name: BarGlyph
Method Name: __dodge__
Project Name: deepfakes/faceswap
Commit Name: cbcd301150a30da76baa29b27026d85def796e3b
Time: 2020-08-22
Author: 36920800+torzdf@users.noreply.github.com
File Name: lib/gui/_config.py
Class Name:
Method Name: get_clean_fonts
Project Name: EpistasisLab/penn-ml-benchmarks
Commit Name: dad5e0183c018099083aa9d683372a1344baee13
Time: 2020-05-14
Author: williamlacava@gmail.com
File Name: tests/test_metadata.py
Class Name:
Method Name: test_dataset