Update 5_1_Least_Squares_Loss.ipynb
This commit is contained in:
@@ -185,7 +185,7 @@
|
|||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"source": [
|
"source": [
|
||||||
"# Return probability under normal distribution for input y\n",
|
"# Return probability under normal distribution\n",
|
||||||
"def normal_distribution(y, mu, sigma):\n",
|
"def normal_distribution(y, mu, sigma):\n",
|
||||||
" # TODO-- write in the equation for the normal distribution\n",
|
" # TODO-- write in the equation for the normal distribution\n",
|
||||||
" # Equation 5.7 from the notes (you will need np.sqrt() and np.exp(), and math.pi)\n",
|
" # Equation 5.7 from the notes (you will need np.sqrt() and np.exp(), and math.pi)\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user