C# 클래스 Encog.Neural.Networks.Layers.ContextLayer

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

공개 메소드들

메소드 설명
ClearContext ( ) : void

Reset the context values back to zero.

ContextLayer ( ) : System

Default constructor, mainly so the workbench can easily create a default layer.

ContextLayer ( IActivationFunction thresholdFunction, bool hasThreshold, int neuronCount ) : System

Construct a context layer with the parameters specified.

ContextLayer ( int neuronCount ) : System

Construct a default context layer that has the TANH activation function and the specified number of neurons. Use threshold values.

CreatePersistor ( ) : IPersistor

Create a persistor for this layer.

Process ( INeuralData pattern ) : void

Called to process input from the previous layer. Simply store the output in the context.

Recur ( ) : INeuralData

Called to get the output from this layer when called in a recurrent manor. Simply return the context that was kept from the last iteration.

메소드 상세

ClearContext() 공개 메소드

Reset the context values back to zero.
public ClearContext ( ) : void
리턴 void

ContextLayer() 공개 메소드

Default constructor, mainly so the workbench can easily create a default layer.
public ContextLayer ( ) : System
리턴 System

ContextLayer() 공개 메소드

Construct a context layer with the parameters specified.
public ContextLayer ( IActivationFunction thresholdFunction, bool hasThreshold, int neuronCount ) : System
thresholdFunction IActivationFunction The threshold function to use.
hasThreshold bool Does this layer have thresholds?
neuronCount int The neuron count to use.
리턴 System

ContextLayer() 공개 메소드

Construct a default context layer that has the TANH activation function and the specified number of neurons. Use threshold values.
public ContextLayer ( int neuronCount ) : System
neuronCount int The number of neurons on this layer.
리턴 System

CreatePersistor() 공개 메소드

Create a persistor for this layer.
public CreatePersistor ( ) : IPersistor
리턴 IPersistor

Process() 공개 메소드

Called to process input from the previous layer. Simply store the output in the context.
public Process ( INeuralData pattern ) : void
pattern INeuralData The pattern to store in the context.
리턴 void

Recur() 공개 메소드

Called to get the output from this layer when called in a recurrent manor. Simply return the context that was kept from the last iteration.
public Recur ( ) : INeuralData
리턴 INeuralData