Skip to content

Commit

Permalink
add optuna plots to report (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
pplonski committed Apr 17, 2021
1 parent c36f892 commit bb760c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions supervised/tuner/optuna/tuner.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ def plot_study(self, algorithm, data_type, study):
with warnings.catch_warnings():
warnings.simplefilter("ignore")
plt.figure()
plt.rcParams["axes.grid"] = title != "parallel_coordinate"
plot(study)
plt.tight_layout(pad=2.0)
fname = f"{key}_{title}.png"
Expand Down

0 comments on commit bb760c1

Please sign in to comment.