| Trees | Index | Help |
|---|
| Package Bio :: Package NeuralNetwork :: Package BackPropagation :: Module Layer :: Class HiddenLayer |
|
AbstractLayer --+
|
HiddenLayer
| Method Summary | |
|---|---|
Initialize a hidden layer. | |
Recalculate all weights based on the last round of prediction. | |
Update the values of nodes from the previous layer info. | |
| Inherited from AbstractLayer | |
Debugging output. | |
Set a weight value from one node to the next. | |
| Method Details |
|---|
__init__(self,
num_nodes,
next_layer,
activation=<function logistic_function at 0x2ba23f2be578>)
|
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 values we are using to see how good our network is at predicting things. |
update(self, previous_layer)Update the values of nodes from the previous layer info. Arguments: o previous_layer -- The previous layer in the network. |
| Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Wed Jan 31 09:58:00 2007 | http://epydoc.sf.net |