Trees | Indices | Help |
---|
|
object --+ | AbstractLayer --+ | HiddenLayer
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
Initialize a hidden layer. Arguments: o num_nodes -- The number of nodes in this hidden layer. o next_layer -- The next layer in the neural network that this is connected to. o activation -- The transformation function used to transform predicted values.
|
Update the values of nodes from the previous layer info. Arguments: o previous_layer -- The previous layer in the network. |
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. |
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sat Aug 20 10:37:31 2011 | http://epydoc.sourceforge.net |