Is the neural network generated by fitnet function fully conected?
3 views (last 30 days)
Show older comments
Ramiro Falcon Novoa
on 24 Aug 2020
Commented: Ramiro Falcon Novoa
on 31 Aug 2020
Hi all,
I am using the 'fitnet' function to generate a 2 layers neural network for fitting applications (3 neurons the 1st layer and 2 neurons the 2nd layer).
So my question is:
Are all the neurons of the 1st layer connected to all the neurons of the 2nd layer? In other words, is this neural network fully connected?
Code:
net = fitnet([3,2]);
view(net)
Neural network generated:
0 Comments
Accepted Answer
Shubham Rawat
on 27 Aug 2020
Edited: Shubham Rawat
on 27 Aug 2020
Hi Ramiro,
Yes, the neurons of first layer are connected with the second layers. You may run this command to check the weight matrices of weights going to layers from other layers.
net.LW
You may also refer to the different object properties of Neural Networks :
More Answers (0)
See Also
Categories
Find more on Define Shallow Neural Network Architectures in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!