C# Class Encog.App.Analyst.Commands.CmdTrain

This command is used to perform training on a machine learning method and dataset.
Inheritance: Cmd
Mostrar archivo Open project: encog/encog-silverlight-core

Public Methods

Method Description
CmdTrain ( EncogAnalyst analyst ) : System

Construct the train command.

ExecuteCommand ( String args ) : bool

Private Methods

Method Description
CreateTrainer ( IMLMethod method, IMLDataSet trainingSet ) : IMLTrain

Create a trainer, use cross validation if enabled.

ObtainCross ( ) : int

Obtain the number of folds for cross validation.

ObtainMethod ( ) : IMLMethod

Obtain the ML method.

ObtainTrainingSet ( ) : IMLDataSet

Obtain the training set.

PerformTraining ( IMLTrain train, IMLMethod method, IMLDataSet trainingSet ) : void

Perform the training.

Method Details

CmdTrain() public method

Construct the train command.
public CmdTrain ( EncogAnalyst analyst ) : System
analyst EncogAnalyst The analyst to use.
return System

ExecuteCommand() public final method

public final ExecuteCommand ( String args ) : bool
args String
return bool