C# Class Encog.Neural.Thermal.HopfieldNetwork

Inheritance: ThermalNetwork
Afficher le fichier Open project: encog/encog-silverlight-core Class Usage Examples

Méthodes publiques

Méthode Description
AddPattern ( IMLData pattern ) : void

Train the neural network for the specified pattern. The neural network can be trained for more than one pattern. To do this simply call the train method more than once.

Compute ( IMLData input ) : IMLData

Note: for Hopfield networks, you will usually want to call the "run" method to compute the output. This method can be used to copy the input data to the current state. A single iteration is then run, and the new current state is returned.

HopfieldNetwork ( ) : System

Default constructor.

HopfieldNetwork ( int neuronCount ) : System

Construct a Hopfield with the specified neuron count.

Run ( ) : void

Perform one Hopfield iteration.

RunUntilStable ( int max ) : int

Run the network until it becomes stable and does not change from more runs.

UpdateProperties ( ) : void

Private Methods

Méthode Description
ConvertHopfieldMatrix ( Matrix delta ) : void

Update the Hopfield weights after training.

Method Details

AddPattern() public méthode

Train the neural network for the specified pattern. The neural network can be trained for more than one pattern. To do this simply call the train method more than once.
public AddPattern ( IMLData pattern ) : void
pattern IMLData The pattern to train for.
Résultat void

Compute() public final méthode

Note: for Hopfield networks, you will usually want to call the "run" method to compute the output. This method can be used to copy the input data to the current state. A single iteration is then run, and the new current state is returned.
public final Compute ( IMLData input ) : IMLData
input IMLData The input pattern.
Résultat IMLData

HopfieldNetwork() public méthode

Default constructor.
public HopfieldNetwork ( ) : System
Résultat System

HopfieldNetwork() public méthode

Construct a Hopfield with the specified neuron count.
public HopfieldNetwork ( int neuronCount ) : System
neuronCount int The neuron count.
Résultat System

Run() public méthode

Perform one Hopfield iteration.
public Run ( ) : void
Résultat void

RunUntilStable() public méthode

Run the network until it becomes stable and does not change from more runs.
public RunUntilStable ( int max ) : int
max int The maximum number of cycles to run before giving up.
Résultat int

UpdateProperties() public méthode

public UpdateProperties ( ) : void
Résultat void