in Education by

Estimating the number of neurons and number of layers of an artificial neural network

Is there any method to find out the number of layers and the number of neurons per layer? As input I solely have the size of the input vector, the size of the output vector and the size of the training set.

We can find out the best net by trying different net topologies and choosing among the one with the least error. Unfortunately I can't try this.

1 Answer

0 votes
by
You may try these approach : 1.Use different configuration: Divide your training set into two parts: one for training and the other for validation, then try to train and evaluate using different approaches and find what works the best. 2.A rule of thumb: As per guesses, people can come up with a rough idea with the number of neurons in the hidden layer they are as follows: Neurons should be placed between the input and output layers. Should be set to something around (input+output)x(2/3). It must not be larger than twice the size of the input layer. 3. An algorithm which dynamically adjusts the network configuration: Using algorithms like cascade correlation which starts with a minimal network and eventually adds hidden nodes during the training, this makes your code simpler and enhances your performance.

Related questions

0 votes
    Is there any method to find out the number of layers and the number of neurons per layer? As input I solely have ... I can't try this. Select the correct answer from above options...
asked Jan 22, 2022 in Education by JackTerrance
0 votes
    Artificial neural networks may be thought of as simplified models of the networks of neurons that occur naturally in ... R Programming Select the correct answer from above options...
asked Feb 10, 2022 in Education by JackTerrance
0 votes
    It is a principal question, regarding the theory of neural networks: Why do we have to normalize the input for ... is not normalized? Select the correct answer from above options...
asked Jan 27, 2022 in Education by JackTerrance
0 votes
    A Shallow Neural Network has only one hidden layer between Input and Output layers. (a) False (b) True...
asked Oct 19, 2020 in Technology by Editorial Staff
0 votes
    Can a artificial neural network capture association if input patterns is greater then dimensionality of input vectors? ... of Neural Networks Please answer the above question....
asked Sep 3, 2022 in Education by JackTerrance
0 votes
    Explain the commonly used Artificial Neural Networks?...
asked Jan 17, 2023 in Technology by JackTerrance
0 votes
    The building blocks of artificial neural networks are artificial _______ (a) Blocks (b) Neurons (c) Functions (d) ... of R Programming Select the correct answer from above options...
asked Feb 10, 2022 in Education by JackTerrance
0 votes
    I know there are many advantages that SVMs have over ANN since they cover two main disadvantages of ANN: ANN covers ... ANNs usable ? Select the correct answer from above options...
asked Jan 22, 2022 in Education by JackTerrance
0 votes
    In which year Haykin gave a comprehensive survey of neural network techniques from an engineering perspective? (a) ... R Programming Select the correct answer from above options...
asked Feb 9, 2022 in Education by JackTerrance
0 votes
    The __________________ protects your privacy by bouncing your connection and links around a distributed network over ... Security:,Cyber Security-Jobs:,Cyber Security Applications...
asked Nov 1, 2021 in Education by JackTerrance
...