Which activation function is used by the Matlab Convolutional Neural Network Toolbox for the Fully-Connected-Layer?
2 次查看(过去 30 天)
显示 更早的评论
especially if it is essentially a Multi-Layer-Perceptron which consists of multiple hidden layers connected to a Softmax-Layer.
0 个评论
采纳的回答
Greg Heath
2017-4-23
The MATLAB default converts inputs and targets to the [ -1, 1] range. However, this does not help in detecting outliers that should be modified or removed.
In order to detect outliers and prevent saturating hidden nodes, I generally advise converting inputs (and non-classifier targets) to zero- mean/unit-variance and using tansig (i.e., tanh) hidden nodes.
Hope this helps
Thank you for formally accepting my answer
Greg
0 个评论
更多回答(1 个)
Taylor Smith
2017-6-27
I have this question as well, however I need to actually know what activation/transfer function is used and ideally where it might be located in source code. Following execution of a simple network line-by-line, I see how the fully connected layer multiplies the input by the appropriate weights and adds the bias, however as far as I can see this is all that is done to calculate the activations for the fully connected layer. The weighted and biased inputs don't seem to be fed to any transfer function.
Any clues?
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!