Documentation For Encog 2.x

BasicNetwork Methods

The methods of the BasicNetwork class are listed below. For a complete list of BasicNetwork class members, see the BasicNetwork Members topic.

Public Static Methods

DetermineWinner Determine which member of the output is the winning neuron.

Public Instance Methods

AddLayerOverloaded. Add a layer to the neural network. The first layer added is the input layer, the last layer added is the output layer. This layer is added with a weighted synapse.
CalculateError Calculate the error for this neural network. The error is calculated using root-mean-square(RMS).
CalculateNeuronCount Calculate the total number of neurons in the network across all layers.
CheckInputSize Check that the input size is acceptable, if it does not match the input layer, then throw an error.
ClearLayerTags Clear all network tags.
Clone Return a clone of this neural network. Including structure, weights and threshold values.
ComputeOverloaded. Compute the output for a given input to the neural network.
CreatePersistor Create a persistor for this object.
EqualsOverloaded. Compare the two neural networks. For them to be equal they must be of the same structure, and have the same matrix values.
Equals (inherited from Object)Overloaded.  
GetHashCode Generate a hash code.
GetLayer Get a layer using a tag name.
GetPropertyDouble Get a network property as a double.
GetPropertyLong Get a network property as a long.
GetPropertyString Get the property as a string.
GetTags Get a list of all of the tags on a specific layer.
GetType (inherited from Object) 
Reset Reset the weight matrix and the thresholds.
SetPropertyOverloaded. Set a network property as a string.
TagLayer Tag a layer.
ToString Convert this object to a string.
Winner Determine the winner for the specified input. This is the number of the winning neuron.

Protected Instance Methods

Finalize (inherited from Object) 
MemberwiseClone (inherited from Object) 

See Also

BasicNetwork Class | Encog.Neural.Networks Namespace