From 984e4e60f917bb81bfb93076aa189b652769673e Mon Sep 17 00:00:00 2001 From: safieurrahman <13besesrehman@seecs.edu.pk> Date: Thu, 9 Apr 2020 17:17:11 +0200 Subject: [PATCH] Wrong identifiers for L_out and L_in corrected --- 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..ba484b5 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; % =========================================================================