Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sth4nth committed Mar 10, 2017
1 parent df0f61a commit 3979a23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapter05/mlp.m
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
end
% backward
E = Y-Z{L};
mse(iter) = mean(E.*E);
mse(iter) = mean(dot(E,E),1);
for l = L-1:-1:1
df = Z{l+1}.*(1-Z{l+1});
dG = df.*E;
Expand Down

0 comments on commit 3979a23

Please sign in to comment.