How to change transfer function in hidden layer?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
pepper yuan
am 29 Mär. 2016
Beantwortet: Greg Heath
am 8 Apr. 2016
hello everyone,as we know the default transfer function in hidden layer is tansig, if I want to change the transfer function to tanh, which is not in the selection of transfer functions, I use the command:
net.layers{1}.transferFcn = 'tanh'
which is not workable and shows error. Can anyone help me to solve this by using tanh as my transfer function.
0 Kommentare
Akzeptierte Antwort
Greg Heath
am 8 Apr. 2016
PLEASE DO NOT POST NEURAL NETWORK QUESTIONS IN BOTH THE NEWSGROUP AND ANSWERS.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Define Shallow Neural Network Architectures finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!