7df71ece4c10998065df63cba0b1024a7659bf27,optuna/multi_objective/visualization/_pareto_front.py,,_get_pareto_front_3d,#Any#Any#,57
Before Change
if len(trials) == 0:
logger.warning("Your study does not have any completed trials.")
return go.Figure(data=[], layout=layout)
data = go.Scatter3d(
x=[t.values[0] for t in trials],
y=[t.values[1] for t in trials],
After Change
trials = study.get_pareto_front_trials()
if len(trials) == 0:
raise ValueError("There must be one or more completed trials to plot a study.")
data = go.Scatter3d(
x=[t.values[0] for t in trials],
y=[t.values[1] for t in trials],
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances Project Name: pfnet/optuna
Commit Name: 7df71ece4c10998065df63cba0b1024a7659bf27
Time: 2020-05-27
Author: phjgt308@gmail.com
File Name: optuna/multi_objective/visualization/_pareto_front.py
Class Name:
Method Name: _get_pareto_front_3d
Project Name: pfnet/optuna
Commit Name: d453c4e3d57bf8118c8f94dce40428a4b5bcef03
Time: 2019-10-14
Author: phjgt308@gmail.com
File Name: optuna/visualization.py
Class Name:
Method Name: _get_contour_plot
Project Name: pfnet/optuna
Commit Name: 7df71ece4c10998065df63cba0b1024a7659bf27
Time: 2020-05-27
Author: phjgt308@gmail.com
File Name: optuna/multi_objective/visualization/_pareto_front.py
Class Name:
Method Name: _get_pareto_front_2d
Project Name: pfnet/optuna
Commit Name: 6d68b7ff03bead1bf28b8742357e9658596845e3
Time: 2019-10-14
Author: phjgt308@gmail.com
File Name: optuna/visualization.py
Class Name:
Method Name: _get_slice_plot