fd633602af08b199d87d222a8cfb85acea17b55a,optuna/visualization.py,,_get_intermediate_plot,#Any#,52
Before Change
traces = []
for __, row in dst_df.iterrows():
trace = go.Scatter(
x=row["intermediate_values"].index,
y=row["intermediate_values"],
mode="lines+markers",
marker={
"maxdisplayed": 10
},
name="Trial{}".format(row["trial_id"][0]))
traces.append(trace)
figure = go.Figure(data=traces, layout=layout)
After Change
showlegend=False
)
trials = study.trials
if len(trials) == 0:
logger.warning("Study instance does not contain trials.")
return go.Figure(data=[], layout=layout)
if hasattr(trials[0], "intermediate_values") is False:
logger.warning(
"You need to set up the pruning feature to utilize plot_intermediate_values()")
return go.Figure(data=[], layout=layout)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances
Project Name: pfnet/optuna
Commit Name: fd633602af08b199d87d222a8cfb85acea17b55a
Time: 2019-09-11
Author: suehiro619@gmail.com
File Name: optuna/visualization.py
Class Name:
Method Name: _get_intermediate_plot
Project Name: home-assistant/home-assistant
Commit Name: 1ca09ea36f80458cd9819d85b9aae29c1ed343a4
Time: 2018-09-14
Author: rohan@rohankapoor.com
File Name: homeassistant/components/sensor/zoneminder.py
Class Name:
Method Name: setup_platform
Project Name: pfnet/optuna
Commit Name: fd633602af08b199d87d222a8cfb85acea17b55a
Time: 2019-09-11
Author: suehiro619@gmail.com
File Name: optuna/visualization.py
Class Name:
Method Name: _get_intermediate_plot
Project Name: home-assistant/home-assistant
Commit Name: 1ca09ea36f80458cd9819d85b9aae29c1ed343a4
Time: 2018-09-14
Author: rohan@rohankapoor.com
File Name: homeassistant/components/switch/zoneminder.py
Class Name:
Method Name: setup_platform