| Trees | Index | Help |
|---|
| Package Bio :: Package NeuralNetwork :: Package BackPropagation :: Module Layer :: Class InputLayer |
|
AbstractLayer --+
|
InputLayer
| Method Summary | |
|---|---|
Initialize the input layer. | |
Recalculate all weights based on the last round of prediction. | |
Update the values of the nodes using given inputs. | |
| Inherited from AbstractLayer | |
Debugging output. | |
Set a weight value from one node to the next. | |
| Method Details |
|---|
__init__(self,
num_nodes,
next_layer)
|
backpropagate(self, outputs, learning_rate, momentum)Recalculate all weights based on the last round of prediction. Arguments: o learning_rate -- The learning rate of the network o momentum - The amount of weight to place on the previous weight change. o outputs - The output info we are using to calculate error. |
update(self, inputs)Update the values of the nodes using given inputs. Arguments: o inputs -- A list of inputs into the network -- this must be equal to the number of nodes in the layer. |
| Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Wed Jan 31 09:57:59 2007 | http://epydoc.sf.net |