How can I create a non-fully connected neural network?

3 views (last 30 days)
Can I create a non-fully connected neural network using Matlab? I mean I try to connect the neuron as I want, can I? Thanks!

Accepted Answer

Saurabh Gupta
Saurabh Gupta on 20 Jul 2017
You can create a custom neural network and control the connections as per your requirement. The following documentation describes one example of custom neural network architecture for your reference.
The following documentation page has a wealth of related resources that you can explore and use as applicable.
I hope this helps!
  3 Comments
zafar khan
zafar khan on 9 Feb 2018
HI Li and Saurabh, I am trying to do something similar but i cannot comprehend how to achieve a a sparse network. Although i can change number of neurons in each layer but that doesn not mean network is not fully connected. The weights automatically connect all weights of previousl layer neurons lets 'n' to all of the next layer neuron lets say 'm' creating a m*n weights matrix. How can i avoid this but creating a network where one neuron doesnot receive data for all neurons but from only one. I will appreciate if you can help me with this. I have tried to look in the links but no joy.
Xiao Gao
Xiao Gao on 16 Oct 2018
Hi Khan, I am dealing with the same problem. The strategy I am thinking about is dividing the initial inupt vector into several sub-vectors, even only one variable for one sub-vector, and initializing arbitrarily each sub-vector's connection with the following layers. It seems kind of redundant but I hope it works.

Sign in to comment.

More Answers (0)

Categories

Find more on 时序、序列和文本深度学习 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!