C# 클래스 Encog.Neural.Networks.Structure.NetworkCODEC

This class will extract the "long term memory" of a neural network, that is the weights and bias values into an array. This array can be used to view the neural network as a linear array of doubles. These values can then be modified and copied back into the neural network. This is very useful for simulated annealing, as well as genetic algorithms.
파일 보기 프로젝트 열기: encog/encog-silverlight-core 1 사용 예제들

공개 메소드들

메소드 설명
ArrayToNetwork ( double array, IMLMethod network ) : void

Use an array to populate the memory of the neural network.

Equals ( BasicNetwork network1, BasicNetwork network2 ) : bool

Determine if the two neural networks are equal. Uses exact precision required by Arrays.equals.

Equals ( BasicNetwork network1, BasicNetwork network2, int precision ) : bool

Determine if the two neural networks are equal.

NetworkSize ( IMLMethod network ) : int

Determine the network size.

NetworkToArray ( IMLMethod network ) : double[]

Convert to an array. This is used with some training algorithms that require that the "memory" of the neuron(the weight and bias values) be expressed as a linear array.

메소드 상세

ArrayToNetwork() 공개 정적인 메소드

Use an array to populate the memory of the neural network.
public static ArrayToNetwork ( double array, IMLMethod network ) : void
array double An array of doubles.
network IMLMethod The network to encode.
리턴 void

Equals() 공개 정적인 메소드

Determine if the two neural networks are equal. Uses exact precision required by Arrays.equals.
public static Equals ( BasicNetwork network1, BasicNetwork network2 ) : bool
network1 BasicNetwork The first network.
network2 BasicNetwork The second network.
리턴 bool

Equals() 공개 정적인 메소드

Determine if the two neural networks are equal.
public static Equals ( BasicNetwork network1, BasicNetwork network2, int precision ) : bool
network1 BasicNetwork The first network.
network2 BasicNetwork The second network.
precision int How many decimal places to check.
리턴 bool

NetworkSize() 공개 정적인 메소드

Determine the network size.
public static NetworkSize ( IMLMethod network ) : int
network IMLMethod The network.
리턴 int

NetworkToArray() 공개 정적인 메소드

Convert to an array. This is used with some training algorithms that require that the "memory" of the neuron(the weight and bias values) be expressed as a linear array.
public static NetworkToArray ( IMLMethod network ) : double[]
network IMLMethod The network to encode.
리턴 double[]