biopython v1.71.0 Bio.NeuralNetwork.BackPropagation.Layer.AbstractLayer
Abstract base class for all layers.
Link to this section Summary
Link to this section Functions
Link to this function
__init__()
Initialize the layer.
Arguments:
- num_nodes — The number of nodes that are contained in this layer.
- has_bias_node — Specify whether or not this node has a bias node. This node is not included in the number of nodes in the network, but is used in constructing and dealing with the network.
Link to this function
__str__()
Debugging output.
Link to this function
set_weight()
Set a weight value from one node to the next.
If weights are not explicitly set, they will be initialized to random values to start with.