b43036c98bf478ef5b12ce415652a4a8e046c617,optuna/visualization.py,,_get_parallel_coordinate_plot,#Any#Any#,203

Before Change



    trials = study.trials

    param_names = set()
    for t in trials:
        for p_name in t.params.keys():
            param_names.add(p_name)
    if len(params) != 0:

After Change


    param_names = {p_name for t in trials for p_name in t.params.keys()}
    if len(params) != 0:
        for p_name in params:
            if p_name not in param_names:
                logger.warning("Parameter {} does not exist in your study.".format(p_name))
                return go.Figure(data=[], layout=layout)
        param_names = set(params)
    sorted_param_names = sorted(list(param_names))

    dims = [{
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pfnet/optuna
Commit Name: b43036c98bf478ef5b12ce415652a4a8e046c617
Time: 2019-09-19
Author: suehiro619@gmail.com
File Name: optuna/visualization.py
Class Name:
Method Name: _get_parallel_coordinate_plot


Project Name: pantsbuild/pants
Commit Name: efdb32a6d9a8aeea5f59100f1659583507f643b2
Time: 2014-11-10
Author: benjyw@gmail.com
File Name: src/python/pants/commands/goal_runner.py
Class Name: GoalRunner
Method Name: setup_parser


Project Name: merenlab/anvio
Commit Name: 6dd4e9044252c501142a644c7702a4e8614b1159
Time: 2021-01-08
Author: a.murat.eren@gmail.com
File Name: anvio/tables/genefunctions.py
Class Name: TableForGeneFunctions
Method Name: add_new_sources_to_functional_sources