C# Class Encog.Engine.Network.Train.Prop.TrainFlatNetworkOpenCL

Train a flat network using OpenCL.
Inheritance: ITrainFlatNetwork
Show file Open project: encog/encog-silverlight-core Class Usage Examples

Public Methods

Method Description
FinishTraining ( ) : void
Iteration ( ) : void

Perform a single iteration.

Iteration ( int iterations ) : void
LearnBPROP ( double learningRate, double momentum ) : void

Learn using backpropagation.

LearnManhattan ( double learningRate ) : void

Learn using the Manhattan update rule.

LearnRPROP ( ) : void

Learn using RPROP. Use default max step and initial update.

LearnRPROP ( double initialUpdate, double maxStep ) : void

Learn using RPROP with a custom initial update and max step.

TrainFlatNetworkOpenCL ( FlatNetwork network, IEngineDataSet training, OpenCLTrainingProfile profile ) : Encog.Engine

Train a flat network multithreaded.

Private Methods

Method Description
CallKernel ( int start, int size, bool learn, int iterations ) : void

Call the kernel.

GetOptions ( String learningType ) : String>.IDictionary

Get the learning properties.

Method Details

FinishTraining() public method

public FinishTraining ( ) : void
return void

Iteration() public method

Perform a single iteration.
public Iteration ( ) : void
return void

Iteration() public method

public Iteration ( int iterations ) : void
iterations int
return void

LearnBPROP() public method

Learn using backpropagation.
public LearnBPROP ( double learningRate, double momentum ) : void
learningRate double The learning rate.
momentum double The momentum.
return void

LearnManhattan() public method

Learn using the Manhattan update rule.
public LearnManhattan ( double learningRate ) : void
learningRate double The learning rate.
return void

LearnRPROP() public method

Learn using RPROP. Use default max step and initial update.
public LearnRPROP ( ) : void
return void

LearnRPROP() public method

Learn using RPROP with a custom initial update and max step.
public LearnRPROP ( double initialUpdate, double maxStep ) : void
initialUpdate double The initial update value.
maxStep double The max step.
return void

TrainFlatNetworkOpenCL() public method

Train a flat network multithreaded.
public TrainFlatNetworkOpenCL ( FlatNetwork network, IEngineDataSet training, OpenCLTrainingProfile profile ) : Encog.Engine
network Encog.Engine.Network.Flat.FlatNetwork The network to train.
training IEngineDataSet The training data to use.
profile OpenCLTrainingProfile The OpenCL training profile.
return Encog.Engine