Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models..., bad] = nntest(nn, test_x, test_y);
assert(er < 0.10, 'Too big error');
Example: Stacked Auto-Encoders..., bad] = nntest(nn, test_x, test_y);
assert(er < 0.16, 'Too big error');
Example: Convolutional Neural..., bad] = cnntest(cnn, test_x, test_y);
%plot mean squared error
figure; plot(cnn.rL);
assert(er<0.12,..., bad] = nntest(nn, test_x, test_y);
assert(er < 0.1, 'Too big error');
%% ex5 plotting functionality