From 4385646ca3f60bcdfbe7d8993472cc5d4230edd3 Mon Sep 17 00:00:00 2001 From: JAYANTA BANIK <35198097+jayanta-banik@users.noreply.github.com> Date: Wed, 19 May 2021 14:47:40 +0530 Subject: [PATCH] Update randInitializeWeights.m typing error in variable name epsilon_init --- mlclass-ex4/mlclass-ex4/randInitializeWeights.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlclass-ex4/mlclass-ex4/randInitializeWeights.m b/mlclass-ex4/mlclass-ex4/randInitializeWeights.m index c2ccfa1..1b3b875 100644 --- a/mlclass-ex4/mlclass-ex4/randInitializeWeights.m +++ b/mlclass-ex4/mlclass-ex4/randInitializeWeights.m @@ -21,7 +21,7 @@ epsilon_init = 0.12; -W = rand(L out, 1 + L in) * 2 * epsilon init − epsilon init; +W = rand(L out, 1 + L in) * 2 * epsilon_init − epsilon_init; % =========================================================================