Update 5_2_Binary_Cross_Entropy_Loss.ipynb

This commit is contained in:
udlbook
2024-01-16 15:41:24 -05:00
committed by GitHub
parent be6a0a07fe
commit 8e85e9111c

View File

@@ -66,7 +66,7 @@
" return activation\n",
"\n",
"# Define a shallow neural network\n",
"def shallow_nn(x, beta_0, omega_0, beta_1, omaga_1):\n",
"def shallow_nn(x, beta_0, omega_0, beta_1, omega_1):\n",
" # Make sure that input data is (1 x n_data) array\n",
" n_data = x.size\n",
" x = np.reshape(x,(1,n_data))\n",