MATLAB Answers

Is the neural network generated by fitnet function fully conected?

3 views (last 30 days)
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

Sign in to comment.

Accepted Answer

Shubham Rawat
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 :

  1 Comment

Ramiro Falcon Novoa
Ramiro Falcon Novoa on 31 Aug 2020
@Shubham Rawat
Thank you very much.
These is exactly the information I wass missing.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!