C# Class Encog.App.Analyst.Script.AnalystScript

Holds a script for the Encog Analyst.
Exibir arquivo Open project: encog/encog-silverlight-core Class Usage Examples

Public Methods

Method Description
AddTask ( AnalystTask task ) : void

Add a task.

AnalystScript ( ) : System

Construct an analyst script.

ClearTasks ( ) : void

Clear all tasks.

DetermineInputFormat ( String sourceID ) : CSVFormat

Determine the input format for the specified file.

DetermineOutputFormat ( ) : CSVFormat

Determine the output format.

ExpectInputHeaders ( String filename ) : bool

Determine if input headers are expected.

FindDataField ( String name ) : DataField

Find the specified data field. Use name to find, and ignore case.

FindDataFieldIndex ( DataField df ) : int

Find the specified data field and return its index.

FindNormalizedField ( String name, int slice ) : AnalystField

Find the specified normalized field. Search without case.

GetTask ( String name ) : AnalystTask

Get the specified task.

Init ( ) : void

Init this script.

IsGenerated ( String filename ) : bool

Determine if the specified file was generated.

Load ( Stream stream ) : void

Load the script.

MarkGenerated ( String filename ) : void

Mark the sepcified filename as generated.

ResolveFilename ( String sourceID ) : FileInfo

Resolve the specified filename.

Save ( Stream stream ) : void

Save to the specified output stream.

Method Details

AddTask() public method

Add a task.
public AddTask ( AnalystTask task ) : void
task Encog.App.Analyst.Script.Task.AnalystTask
return void

AnalystScript() public method

Construct an analyst script.
public AnalystScript ( ) : System
return System

ClearTasks() public method

Clear all tasks.
public ClearTasks ( ) : void
return void

DetermineInputFormat() public method

Determine the input format for the specified file.
public DetermineInputFormat ( String sourceID ) : CSVFormat
sourceID String The file.
return Encog.Util.CSV.CSVFormat

DetermineOutputFormat() public method

Determine the output format.
public DetermineOutputFormat ( ) : CSVFormat
return Encog.Util.CSV.CSVFormat

ExpectInputHeaders() public method

Determine if input headers are expected.
public ExpectInputHeaders ( String filename ) : bool
filename String The filename.
return bool

FindDataField() public method

Find the specified data field. Use name to find, and ignore case.
public FindDataField ( String name ) : DataField
name String The name to search for.
return DataField

FindDataFieldIndex() public method

Find the specified data field and return its index.
public FindDataFieldIndex ( DataField df ) : int
df DataField The data field to search for.
return int

FindNormalizedField() public method

Find the specified normalized field. Search without case.
public FindNormalizedField ( String name, int slice ) : AnalystField
name String The name of the field we are searching for.
slice int The timeslice.
return Encog.App.Analyst.Script.Normalize.AnalystField

GetTask() public method

Get the specified task.
public GetTask ( String name ) : AnalystTask
name String The name of the testk.
return Encog.App.Analyst.Script.Task.AnalystTask

Init() public method

Init this script.
public Init ( ) : void
return void

IsGenerated() public method

Determine if the specified file was generated.
public IsGenerated ( String filename ) : bool
filename String The filename to check.
return bool

Load() public method

Load the script.
public Load ( Stream stream ) : void
stream Stream The stream to load from.
return void

MarkGenerated() public method

Mark the sepcified filename as generated.
public MarkGenerated ( String filename ) : void
filename String The filename.
return void

ResolveFilename() public method

Resolve the specified filename.
public ResolveFilename ( String sourceID ) : FileInfo
sourceID String The filename to resolve.
return System.IO.FileInfo

Save() public method

Save to the specified output stream.
public Save ( Stream stream ) : void
stream Stream The output stream.
return void