How to change transfer function in hidden layer?

5 ビュー (過去 30 日間)
pepper yuan
pepper yuan 2016 年 3 月 29 日
回答済み: Greg Heath 2016 年 4 月 8 日
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.

採用された回答

Greg Heath
Greg Heath 2016 年 4 月 8 日
PLEASE DO NOT POST NEURAL NETWORK QUESTIONS IN BOTH THE NEWSGROUP AND ANSWERS.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by