C# Класс Encog.Neural.Thermal.HopfieldNetwork

Наследование: ThermalNetwork
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
ConvertHopfieldMatrix ( Matrix delta ) : void

Update the Hopfield weights after training.

Описание методов

AddPattern() публичный Метод

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.
Результат void

Compute() публичный закрытый Метод

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.
Результат IMLData

HopfieldNetwork() публичный Метод

Default constructor.
public HopfieldNetwork ( ) : System
Результат System

HopfieldNetwork() публичный Метод

Construct a Hopfield with the specified neuron count.
public HopfieldNetwork ( int neuronCount ) : System
neuronCount int The neuron count.
Результат System

Run() публичный Метод

Perform one Hopfield iteration.
public Run ( ) : void
Результат void

RunUntilStable() публичный Метод

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.
Результат int

UpdateProperties() публичный Метод

public UpdateProperties ( ) : void
Результат void