in Education by
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. Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
@ganga , 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. Hope this answer helps. Visit here to know more about the Artificial Neural Network.

Related questions

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
    What is the difference between back-propagation and feed-forward neural networks? By googling and reading, I found ... feed-forward? Select the correct answer from above options...
asked Jan 31, 2022 in Education by JackTerrance
0 votes
    I know the basics of feedforward neural networks, and how to train them using the backpropagation algorithm, but I'm ... , even better. Select the correct answer from above options...
asked Feb 8, 2022 in Education by JackTerrance
0 votes
    I'm making a basic feedforward neural network to solve the XOR gate problem. Standard settings: input layer + hidden layer + ... outputData_samples : Array = Array() for i in 0.....
asked Jan 31, 2022 in Education by JackTerrance
0 votes
    I read a few books and articles about Convolutional neural network, it seems I understand the concept but I don ... please help thanks. Select the correct answer from above options...
asked Jan 30, 2022 in Education by JackTerrance
0 votes
    Estimating the number of neurons and number of layers of an artificial neural network Is there any method to find out the ... with the least error. Unfortunately I can't try this....
asked Nov 20, 2020 in Education by Editorial Staff
0 votes
    I saw a few examples of a neural network but they work for a fixed set of inputs. How can I deal with ... property of neural networks? Select the correct answer from above options...
asked Jan 22, 2022 in Education by JackTerrance
0 votes
    A friend of mine told me that it is possible to even create games with PHP. Is that really possible? Can we ... Looking for your ideas. Select the correct answer from above options...
asked Jan 28, 2022 in Education by JackTerrance
0 votes
    I'm learning the difference between the various machine learning algorithms. I understand that the implementations of ... for that? Select the correct answer from above options...
asked Jan 25, 2022 in Education by JackTerrance
0 votes
    I was wondering if you creative minds out there could think of some situations or applications in the web environment ... AI in games. Select the correct answer from above options...
asked Jan 26, 2022 in Education by JackTerrance
0 votes
    I know about the Gradient Descent & Back-propagation Theorem. What I didn't get is: When and how to use ... gives the correct weights. Select the correct answer from above options...
asked Jan 22, 2022 in Education by JackTerrance
0 votes
    I am receiving the error: ValueError: Wrong number of items passed 3, placement implies 1, and I am struggling to ... 'sigma'] = sigma Select the correct answer from above options...
asked Feb 1, 2022 in Education by JackTerrance
0 votes
    I've trained a Linear Regression model with R caret. I'm now trying to generate a confusion matrix and ... and reference factors must have the same number of levels EnglishMarks...
asked Jan 26, 2022 in Education by JackTerrance
0 votes
    Trying to implement OCR in the bank environment but the challenge is, we don't have access to an internet connection ... in our bank. Select the correct answer from above options...
asked Jan 31, 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
...