ccdd6a0cb1df06715d556705255f05a94e414146,optuna/visualization/_contour.py,,_generate_contour_subplot,#Any#Any#Any#Any#Any#,185

Before Change


        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()
    if len(y_indices) < 2:

After Change


        param_values_range = {}

    x_indices = sorted(set(_get_param_values(trials, x_param)))
    y_indices = sorted(set(_get_param_values(trials, y_param)))
    if len(x_indices) < 2:
        _logger.warning("Param {} unique value length is less than 2.".format(x_param))
        return go.Contour(), go.Scatter()
    if len(y_indices) < 2:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 6

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: AlexsLemonade/refinebio
Commit Name: 5fbce37c1f6f078e410979b69c8f97a42d89de28
Time: 2019-09-23
Author: arielsvn@gmail.com
File Name: foreman/data_refinery_foreman/foreman/management/commands/retry_samples.py
Class Name:
Method Name: retry_computed_files_not_uploaded


Project Name: sony/nnabla
Commit Name: 200b1939c3a87d1d1cba41b061bbaabdf8b1c233
Time: 2019-02-14
Author: Yuchi.Wen@sony.com
File Name: python/test/utils/conversion/gen_report.py
Class Name:
Method Name: obtain_export_opset_d


Project Name: Pinafore/qb
Commit Name: 4571bbf0507e935510b1a89dc6510ee574879fda
Time: 2017-04-19
Author: ski.rodriguez@gmail.com
File Name: qanta/guesser/mem_nn.py
Class Name: MemNNGuesser
Method Name: train


Project Name: pantsbuild/pants
Commit Name: 320b4c7f27d3ff244c766c3fb8481ed01d57d228
Time: 2016-05-15
Author: benjyw@gmail.com
File Name: src/python/pants/option/options.py
Class Name: Options
Method Name: complete_scopes