kyunghyuncho / deepmat

Matlab Code for Restricted/Deep Boltzmann Machines and Autoencoders
http://users.ics.aalto.fi/kcho/
188 stars 95 forks source link

example_mnist_mlp.m #9

Open r3831 opened 9 years ago

r3831 commented 9 years ago

After a couple of hours running example_mnist_mlp.m, it outputs: Correctly classified test samples: 980/10000

It simply predicts class 1 for all test samples. I checked it twice and the results are the same. I could not figure out the problem, any help is greatly appreciated.

r3831 commented 9 years ago

Solved. In mlp_classify.m, call of softmax.m makes the posterior zero