C Board  

Go Back   C Board > Cprogramming.com and AIHorizon.com's Artificial Intelligence Boards > General AI Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 04-23-2009, 05:33 PM   #1
Registered User
 
Join Date: Apr 2009
Posts: 2
neural nets input layer question

hey!

im learning about neural nets and this may sound simple but its ambigious in all the diagrams i have seen.



Does this network have one input layer(the inputs), one hidden layer(the 2 neurons) and one output layer(the last neuron).

Or does it just have one input layer(the 2 inputs and the 2 neurons, and one output layer with no hidden layer?
jianna is offline   Reply With Quote
Old 04-23-2009, 05:49 PM   #2
Guest
 
Sebastiani's Avatar
 
Join Date: Aug 2001
Posts: 4,923
The second statement is correct.
Sebastiani is offline   Reply With Quote
Old 04-23-2009, 06:11 PM   #3
Registered User
 
Join Date: Apr 2009
Posts: 2
thank you for the reply.

Now I have to experiment with finding the optimum number of neurons in the hidden layers, and since i don't have to find the optimum number in the input layer, is there some standard amount that is usually expected to be in the input layer?

Such as one neuron per input?

I've seen a lot of material on how many neurons should be in the hidden layer, but nothing about the input layer.
jianna is offline   Reply With Quote
Old 04-29-2009, 11:11 AM   #4
Rampaging 35 Stone Welsh
 
abachler's Avatar
 
Join Date: Apr 2007
Posts: 2,927
Quote:
Originally Posted by Sebastiani View Post
The second statement is correct.
No it isn't. The network does have one input layer, one intermediate layer, and one output layer, but the intermediate layer isnt the 2 neurons, its the outputs of the two neurons. Specifically a layer is a set of results, which may be inputs from some set of sensors, intermediate results from a layer of neurons, or the outputs fromt eh last set fo neurons.

The number of inputs is irrelevant to the optimal number of neurons in the hidden layer(s). in theory any set of inputs can be mapped to any set fo outputs if you use one neuron per example per output. This works for simple associations between the input and output sets where a single intermediate layer is sufficient to produce an arbitrarily accurate mapping. However, given the finite accuracy of floating point values and possibility of non-linear relationships between input and output sets, multiple intermediate layers are usually necessary in practical applications.
__________________
He is free, you say. Ah! That is his misfortune… These men… [have] the most terrible, the most imperious of masters, that is, need. … They must therefore find someone to hire them, or die of hunger. Is that to be free? - Simon Linguet

Last edited by abachler; 04-29-2009 at 11:26 AM.
abachler is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
input stream question lord C++ Programming 4 09-11-2008 08:27 PM
String input reliability question WinterMute C++ Programming 2 06-15-2007 11:58 PM
It's me again.. (the crowd groans): A simple(I hope) question on input Cobras2 C++ Programming 2 03-15-2002 01:45 PM
simple input and string manipulation question Stig C Programming 1 12-15-2001 01:33 PM
Handling input errors, general question Unregistered C++ Programming 2 11-08-2001 06:21 PM


All times are GMT -6. The time now is 07:44 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22