biopython v1.71.0 Bio.NeuralNetwork.BackPropagation.Layer.AbstractLayer

Abstract base class for all layers.

Link to this section Summary

Functions

Initialize the layer

Debugging output

Set a weight value from one node to the next

Link to this section Functions

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.

Debugging output.

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.