change patternnet transfer function
古いコメントを表示
how can i change the transfer function for patternnet? initially i used net.transferFcn = 'tansig'. but it hits error 'reference to non existence field transferFcn'
i have used the nn out of the box tool to generate the nn command. and i have noticed there are some functions i'm not understand n no luck to get answer after asking from google. TrainMask{1}, valMask{2} and testMask{1}.. thanks
採用された回答
その他の回答 (1 件)
Ahmed
2013 年 6 月 3 日
try following to change the transfer function in the first hidden layer:
net.layers{1}.transferFcn = 'tansig';
カテゴリ
ヘルプ センター および File Exchange で Define Shallow Neural Network Architectures についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!