|
|
Public Members
Protected Members
A generic and extensible neural network.
Constructs the neural network with the given topology description string. See FreeNetwork::makeUnits() for more information about the format of the description string.
Builds a non-connected network according to the given layer topology (for example: "7-4-2" or "8"). See ANNLayering for some more information about the description strings.
Implementation for ANNetwork. See also: makeUnits
Implementation for ANNetwork.
Destroys all units.
Removes the i:th unit and all connections from it and to it.
Builds the network from connection matrix, restricting the topology to only feedforward connections.
Connects all units in subsequent layers to form feedforward topology.
Connects all units to all units, including self.
Sets the unit template. The object t must be an instance of an inheritor of FreeNeuron. NOTE: The template is destructed along with the FreeNetwork, so do not destroy it yourself.
Implementation for ANNetwork. Copies the other FreeNet unto self.
Implementation for ANNetwork. Initializes the weights and biases randomly according to the range, or if an initializer has been given, using that.
Resets activations to 0.0.
Transfers signals once for all units.
Returns i:th unit. Const version.
Returns i:th unit. Non-const version.
Returns the number of neurons in the network.
Returns current layering.
Sets the given initializer. NOTE: Takes the ownership of the initializer and destroys it along with the FreeNetwork.
Creates a connection from neuron i to neuron j. >>
Implementation for Object. Prints out a formatted printout of the network.
Draws a picture of the network in EPS (Encapsulated PostScript). If no size is given, the image is drawn using default scaling. Returns: Picture as EPS code.
Removes unnecessary connections and disables lonely units. Parameters:
Order the coordinates of the FreeNeuron neurons (which do have coordinates) in the network in a pretty way in two-dimensional space.
Implementation for Object.
Layering information.
The neurons.
Neuron template.
Neuron initializer method.
|