Update 04_Regularisation.ipynb
This commit is contained in:
parent
dc115a1796
commit
2034add6ca
@ -86,9 +86,9 @@
|
||||
"Hence, the gradient of the cost w.r.t parameter $w_i$ is given as follows:\n",
|
||||
"\n",
|
||||
"(5) $\n",
|
||||
"\\begin{align*}\\frac{\\partial E^n}{\\partial w_i} &= \\frac{\\partial (E^n_{\\text{train}} + \\beta_{L_2} E_{L_2}) }{\\partial w_i} \n",
|
||||
"\\begin{align*}\\frac{\\partial E^n}{\\partial w_i} &= \\frac{\\partial (E^n_{\\text{train}} + \\beta_{L_2} \frac{1}[2} E^n_{L_2}) }{\\partial w_i} \n",
|
||||
" = \\left( \\frac{\\partial E^n_{\\text{train}}}{\\partial w_i} + \\beta_{L_2} \\frac{\\partial\n",
|
||||
" E_{L_2}}{\\partial w_i} \\right) \n",
|
||||
" \frac{1}{2}E^n_{L_2}}{\\partial w_i} \\right) \n",
|
||||
" = \\left( \\frac{\\partial E^n_{\\text{train}}}{\\partial w_i} + \\beta_{L_2} w_i \\right)\n",
|
||||
"\\end{align*}\n",
|
||||
"$\n",
|
||||
|
Loading…
Reference in New Issue
Block a user