C# 클래스 Encog.Neural.Thermal.HopfieldNetwork

상속: ThermalNetwork
파일 보기 프로젝트 열기: encog/encog-silverlight-core 1 사용 예제들

공개 메소드들

메소드 설명
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