Add a dropout layer to a narxnet
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello everyone
Once I create a narxnet (for example thisone with three layers and 10 neurons eachone: net = narxnet(1:2,1:2, [10 10 10],'open', 'trainlm'))
How can I add a dropout layer to it?
Thanks in advance.
0 Commenti
Risposte (1)
Rishi
il 23 Gen 2024
Hi Elieser,
I understand from your query that you want to know how to add a dropout layer to 'narnet' neural network.
The 'narxnet' function does not provide an option to add dropout layer directly. However, you can add the dropout by defining a custom transfer function to one of the layers. Details on how to create a custom transfer function is addressed in the following MATLAB Answer:
Hope this helps!
Vedere anche
Categorie
Scopri di più su Sequence and Numeric Feature Data Workflows 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!