C# Class Encog.App.Analyst.EncogAnalyst

Show file Open project: encog/encog-silverlight-core Class Usage Examples

Public Methods

Method Description
AddAnalystListener ( IAnalystListener listener ) : void

Add a listener.

AddCommand ( Cmd cmd ) : void

Add a command.

Analyze ( FileInfo file, bool headers, AnalystFileFormat format ) : void

Analyze the specified file. Used by the wizard.

DetermineInputCount ( ) : int

Determine the input count. This is the actual number of columns.

DetermineInputFieldCount ( ) : int

Determine the input field count, the fields are higher-level than columns.

DetermineOutputCount ( ) : int

Determine the output count, this is the number of output columns needed.

DetermineOutputFieldCount ( ) : int

Determine the number of output fields. Fields are higher level than columns.

DetermineTotalColumns ( ) : int

Determine the total number of columns.

DetermineTotalInputFieldCount ( ) : int

Determine the total input field count, minus ignored fields.

DetermineUniqueColumns ( ) : int

Determine how many unique columns there are. Timeslices are not counted multiple times.

DetermineUniqueInputFieldCount ( ) : int

Determine the unique input field count. Timeslices are not counted multiple times.

DetermineUniqueOutputFieldCount ( ) : int

Determine the unique output field count. Do not count timeslices multiple times.

Download ( ) : void

Download a raw file from the Internet.

EncogAnalyst ( ) : System

Construct the Encog analyst.

ExecuteTask ( AnalystTask task ) : void

Execute a task.

ExecuteTask ( String name ) : void

Execute a task.

Load ( FileInfo file ) : void

Load the specified script file.

Load ( Stream stream ) : void

Load from an input stream.

Load ( String filename ) : void

Load from the specified filename.

RemoveAnalystListener ( IAnalystListener listener ) : void

Remove a listener.

ReportTraining ( IMLTrain train ) : void

Report training.

ReportTrainingBegin ( ) : void

Report that training has begun.

ReportTrainingEnd ( ) : void

Report that training has ended.

Save ( FileInfo file ) : void

Save the script to a file.

Save ( Stream stream ) : void

Save the script to a stream.

Save ( String filename ) : void

Save the script to a filename.

ShouldStopCommand ( ) : bool

Should the current command be stopped.

Private Methods

Method Description
DownloadPage ( Uri url, FileInfo file ) : void

Down load a file from the specified URL, uncompress if needed.

Report ( int total, int current, String message ) : void

Report progress.

ReportCommandBegin ( int total, int current, String name ) : void

Report a command has begin.

ReportCommandEnd ( bool canceled ) : void

Report a command has ended.

ShouldStopAll ( ) : bool

Should all commands be stopped.

StopCurrentTask ( ) : void

Method Details

AddAnalystListener() public method

Add a listener.
public AddAnalystListener ( IAnalystListener listener ) : void
listener IAnalystListener The listener to add.
return void

AddCommand() public method

Add a command.
public AddCommand ( Cmd cmd ) : void
cmd Encog.App.Analyst.Commands.Cmd The command to add.
return void

Analyze() public method

Analyze the specified file. Used by the wizard.
public Analyze ( FileInfo file, bool headers, AnalystFileFormat format ) : void
file System.IO.FileInfo The file to analyze.
headers bool True if headers are present.
format AnalystFileFormat The format of the file.
return void

DetermineInputCount() public method

Determine the input count. This is the actual number of columns.
public DetermineInputCount ( ) : int
return int

DetermineInputFieldCount() public method

Determine the input field count, the fields are higher-level than columns.
public DetermineInputFieldCount ( ) : int
return int

DetermineOutputCount() public method

Determine the output count, this is the number of output columns needed.
public DetermineOutputCount ( ) : int
return int

DetermineOutputFieldCount() public method

Determine the number of output fields. Fields are higher level than columns.
public DetermineOutputFieldCount ( ) : int
return int

DetermineTotalColumns() public method

Determine the total number of columns.
public DetermineTotalColumns ( ) : int
return int

DetermineTotalInputFieldCount() public method

Determine the total input field count, minus ignored fields.
public DetermineTotalInputFieldCount ( ) : int
return int

DetermineUniqueColumns() public method

Determine how many unique columns there are. Timeslices are not counted multiple times.
public DetermineUniqueColumns ( ) : int
return int

DetermineUniqueInputFieldCount() public method

Determine the unique input field count. Timeslices are not counted multiple times.
public DetermineUniqueInputFieldCount ( ) : int
return int

DetermineUniqueOutputFieldCount() public method

Determine the unique output field count. Do not count timeslices multiple times.
public DetermineUniqueOutputFieldCount ( ) : int
return int

Download() public method

Download a raw file from the Internet.
public Download ( ) : void
return void

EncogAnalyst() public method

Construct the Encog analyst.
public EncogAnalyst ( ) : System
return System

ExecuteTask() public method

Execute a task.
public ExecuteTask ( AnalystTask task ) : void
task Encog.App.Analyst.Script.Task.AnalystTask The task to execute.
return void

ExecuteTask() public method

Execute a task.
public ExecuteTask ( String name ) : void
name String The name of the task to execute.
return void

Load() public method

Load the specified script file.
public Load ( FileInfo file ) : void
file System.IO.FileInfo The file to load.
return void

Load() public method

Load from an input stream.
public Load ( Stream stream ) : void
stream Stream The stream to load from.
return void

Load() public method

Load from the specified filename.
public Load ( String filename ) : void
filename String The filename to load from.
return void

RemoveAnalystListener() public method

Remove a listener.
public RemoveAnalystListener ( IAnalystListener listener ) : void
listener IAnalystListener The listener to remove.
return void

ReportTraining() public method

Report training.
public ReportTraining ( IMLTrain train ) : void
train IMLTrain The trainer.
return void

ReportTrainingBegin() public method

Report that training has begun.
public ReportTrainingBegin ( ) : void
return void

ReportTrainingEnd() public method

Report that training has ended.
public ReportTrainingEnd ( ) : void
return void

Save() public method

Save the script to a file.
public Save ( FileInfo file ) : void
file System.IO.FileInfo The file to save to.
return void

Save() public method

Save the script to a stream.
public Save ( Stream stream ) : void
stream Stream The stream to save to.
return void

Save() public method

Save the script to a filename.
public Save ( String filename ) : void
filename String The filename to save to.
return void

ShouldStopCommand() public method

Should the current command be stopped.
public ShouldStopCommand ( ) : bool
return bool