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; % =========================================================================