How to change transfer function in hidden layer?
5 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Greg Heath
2016-4-8
PLEASE DO NOT POST NEURAL NETWORK QUESTIONS IN BOTH THE NEWSGROUP AND ANSWERS.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!