Which activation function is used by the Matlab Convolutional Neural Network Toolbox for the Fully-Connected-Layer?

3 Ansichten (letzte 30 Tage)
especially if it is essentially a Multi-Layer-Perceptron which consists of multiple hidden layers connected to a Softmax-Layer.

Akzeptierte Antwort

Greg Heath
Greg Heath am 23 Apr. 2017
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

Weitere Antworten (1)

Taylor Smith
Taylor Smith am 27 Jun. 2017
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?

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by