Skip to content

Commit

Permalink
Correct font size on OvO plot
Browse files Browse the repository at this point in the history
  • Loading branch information
saganatt committed Jan 16, 2024
1 parent 7217c3e commit 5c9b347
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions machine_learning_hep/mlperformance.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ def plot_roc_ovo(names_, classifiers_, suffix_, x_train, y_train,
linewidth=5.0)
global_roc_auc = roc_auc_score(y_train, y_score, average="macro", multi_class='ovo')
plt.plot([], [], ' ', label=f'Unweighted average OvO ROC AUC: {global_roc_auc:.2f}')
ax.set_xlabel("First class efficiency", fontsize=20)
ax.set_ylabel("Second class efficiency", fontsize=20)
ax.set_xlabel("First class efficiency", fontsize=30)
ax.set_ylabel("Second class efficiency", fontsize=30)
ax.set_title(f"ROC one vs. one {name}", fontsize=30)
ax.legend(loc="lower right", frameon=False, fontsize=25)
ax.set_xlim([-0.05, 1.05])
Expand Down

0 comments on commit 5c9b347

Please sign in to comment.