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


            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)
        if isinstance(trial.value, int):
            value = float(trial.value)
        elif isinstance(trial.value, float):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

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: tensorflow/transform
Commit Name: fdb21ea28fc513f118e1a8b06069f84c3f4c23bc
Time: 2019-09-19
Author: zoy@google.com
File Name: tensorflow_transform/beam/analyzer_cache.py
Class Name: WriteAnalysisCacheToFS
Method Name: expand


Project Name: snorkel-team/snorkel
Commit Name: 705e46d8c12fb86646ea5438e2225b5dd3912ae9
Time: 2016-08-10
Author: ajratner@gmail.com
File Name: snorkel/viewer.py
Class Name: Viewer
Method Name: render