Azzera filtri
Azzera filtri

Can I set the transfer function of a feedforward NN "relu"? If not, how can I apply "relu" to the feedforward NN?

11 visualizzazioni (ultimi 30 giorni)
I want to use "relu" in feedforward NN, can I? Can I set the transfer function of a feedforward NN "relu"? If not, how can I apply "relu" to the feedforward NN? Thanks a lot!

Risposte (1)

Kyana Shayan
Kyana Shayan il 6 Giu 2018
As far as I know you can set it to
net.layers{1}.transferFcn= 'poslin'
which would give the same result as rectifier function, however, not sure how the non-differentiability at 0 would effect the results.
Hope it helps.

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!