problem in using inverse tansig in place of tansig in neural network
Show older comments
for creating a custom activation function i.e the inverse of tansig, I have created a folder with +myfun and myfun.m where i have changed the apply.m file with equation of inverse tansig a= -(log(1 ./ (n./2 + 1./2) - 1)./ 2);. When i train my network it is stoping at the 0 iterations and its showing R as a complex value. The same is working fine for the tansig.
Regards swathi
Accepted Answer
More Answers (0)
Categories
Find more on Modeling and Prediction with NARX and Time-Delay Networks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!