Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch for /trunk/core/learn/train_bp_netlab.m #4

Open
GoogleCodeExporter opened this issue Sep 28, 2015 · 0 comments
Open

Patch for /trunk/core/learn/train_bp_netlab.m #4

GoogleCodeExporter opened this issue Sep 28, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

The number of hidden neurons should be defined. Changing the activation 
functions to linear. A 3-layer NN with linear activation units is equivalent to 
a 2-layer NN with nonlinear activation units. My tests has shown better 
accuracy with linear activation units than logistic activation units. 
Another addition is a random seed so that different NN weights are generated at 
each run. I am not sure if netlab handles this, but, it seems that netlab3.3 
does not have this feature.
Finally, we need few hidden neurons/units. The value nHidden=10 is a good 
choice. 

I would also suggest to reduce the defaults.epochs from 500 to 200 to speedup 
the training. I am using 100 now and it works pretty fine.

With very best regards,
Mohammed S. Al-Rawi,
Visual neuroscience lab, IBILI, University of Coimbra, Portugal
al-rawi(aaattt)uc(dddooottt)pt


With very best regards,
Mohammed S. Al-Rawi

Original issue reported on code.google.com by [email protected] on 23 Jan 2014 at 10:59

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant