【DeepLearning】UFLDL tutorial错误记录

(一)Autoencoders and Sparsity章节公式错误:

s2 应为 s3。

意为从第2层(隐藏层)i节点到输出层j节点的误差加权和。

 

(二)Support functions for loading MNIST in Matlab文件名错误

% Change the filenames if you've saved the files under different names
% On some platforms, the files might be saved as 
% train-images.idx3-ubyte / train-labels.idx1-ubyte
images = loadMNISTImages('train-images-idx3-ubyte');
labels = loadMNISTLabels('train-labels-idx1-ubyte');
 
% We are using display_network from the autoencoder code
display_network(images(:,1:100)); % Show the first 100 images
disp(labels(1:10));

应为

images = loadMNISTImages('train-images.idx3-ubyte');
labels = loadMNISTLabels('train-labels.idx1-ubyte');

 

posted @ 2014-12-30 15:02  陆草纯  阅读(340)  评论(0编辑  收藏  举报