Skip to content

Commit

Permalink
fix mlp
Browse files Browse the repository at this point in the history
  • Loading branch information
sth4nth committed Jun 1, 2017
1 parent 66a59ca commit 92c8220
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chapter05/mlp.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
eta = 1/size(X,2);
h = [size(X,1);h(:);size(T,1)];
L = numel(h);
W = cell(L-1);
W = cell(L-1,1);
for l = 1:L-1
W{l} = randn(h(l),h(l+1));
end
Z = cell(1,L);
Z = cell(L,1);
Z{1} = X;
maxiter = 200;
mse = zeros(1,maxiter);
Expand Down

0 comments on commit 92c8220

Please sign in to comment.