From f0587ba30ed91e847f9f5f2f3e400c6b7574a0c1 Mon Sep 17 00:00:00 2001 From: woyeso <80009499+woyeso@users.noreply.github.com> Date: Wed, 3 Nov 2021 14:40:39 +0300 Subject: [PATCH] Update gd_and_sgd.ipynb --- 8_sgd_vs_gd/gd_and_sgd.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/8_sgd_vs_gd/gd_and_sgd.ipynb b/8_sgd_vs_gd/gd_and_sgd.ipynb index 6064565..5c293fd 100644 --- a/8_sgd_vs_gd/gd_and_sgd.ipynb +++ b/8_sgd_vs_gd/gd_and_sgd.ipynb @@ -535,7 +535,7 @@ " \n", " return w, b, cost, cost_list, epoch_list\n", "\n", - "w_sgd, b_sgd, cost_sgd, cost_list_sgd, epoch_list_sgd = SGD(scaled_X,scaled_y.reshape(scaled_y.shape[0],),10000)\n", + "w_sgd, b_sgd, cost_sgd, cost_list_sgd, epoch_list_sgd = stochastic_gradient_descent(scaled_X,scaled_y.reshape(scaled_y.shape[0],),10000)\n", "w_sgd, b_sgd, cost_sgd" ] }, @@ -704,4 +704,4 @@ }, "nbformat": 4, "nbformat_minor": 4 -} \ No newline at end of file +}