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 CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by