Skip to content

Commit c53ca4a

Browse files
committed
update error term formula
1 parent 2ca8440 commit c53ca4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

intro-neural-networks/student-admissions/StudentAdmissions.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@
303303
" error = error_formula(y, output)\n",
304304
"\n",
305305
" # The error term\n",
306-
" error_term = error_term_formula(y, output)\n",
306+
" error_term = error_term_formula(x, y, output)\n",
307307
"\n",
308308
" # The gradient descent step, the error times the gradient times the inputs\n",
309309
" del_w += error_term * x\n",

0 commit comments

Comments
 (0)