How to implement a neural network in matlab?

1 Ansicht (letzte 30 Tage)
Deepti D S
Deepti D S am 5 Mär. 2020
Kommentiert: Deepti D S am 9 Mär. 2020
Hi all,
How do I implement a multilayer neural network in MATLAB with 2 hidden layers and ReLu Function. There are many approaches but im confused what to use? Kindly someone help me out.

Akzeptierte Antwort

Srivardhan Gadila
Srivardhan Gadila am 9 Mär. 2020
Then you can try defining the network with feedforwardnet. You can access the transfer function using net.layers{i}.transferFcn. For a list of available transfer functions, type help nntransfer in command window.
Or
Select a input layer and then define 2 fullyConnectedLayer layers followed by reluLayer

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by