From d7f9929a3c44b1991588e7d394161023d3b51988 Mon Sep 17 00:00:00 2001 From: udlbook <110402648+udlbook@users.noreply.github.com> Date: Thu, 18 Apr 2024 15:59:40 -0400 Subject: [PATCH] Created using Colab --- Notebooks/Chap05/5_2_Binary_Cross_Entropy_Loss.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Notebooks/Chap05/5_2_Binary_Cross_Entropy_Loss.ipynb b/Notebooks/Chap05/5_2_Binary_Cross_Entropy_Loss.ipynb index f6b4e37..72fd8b1 100644 --- a/Notebooks/Chap05/5_2_Binary_Cross_Entropy_Loss.ipynb +++ b/Notebooks/Chap05/5_2_Binary_Cross_Entropy_Loss.ipynb @@ -119,12 +119,12 @@ " fig.set_size_inches(7.0, 3.5)\n", " fig.tight_layout(pad=3.0)\n", " ax[0].plot(x_model,out_model)\n", - " ax[0].set_xlabel('Input, $x$'); ax[0].set_ylabel('Model output')\n", + " ax[0].set_xlabel(r'Input, $x$'); ax[0].set_ylabel(r'Model output')\n", " ax[0].set_xlim([0,1]);ax[0].set_ylim([-4,4])\n", " if title is not None:\n", " ax[0].set_title(title)\n", " ax[1].plot(x_model,lambda_model)\n", - " ax[1].set_xlabel('Input, $x$'); ax[1].set_ylabel('$\\lambda$ or Pr(y=1|x)')\n", + " ax[1].set_xlabel(r'Input, $x$'); ax[1].set_ylabel(r'$\\lambda$ or Pr(y=1|x)')\n", " ax[1].set_xlim([0,1]);ax[1].set_ylim([-0.05,1.05])\n", " if title is not None:\n", " ax[1].set_title(title)\n",