C# Класс Encog.App.Analyst.Script.AnalystScript

Holds a script for the Encog Analyst.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

AddTask() публичный Метод

Add a task.
public AddTask ( AnalystTask task ) : void
task Encog.App.Analyst.Script.Task.AnalystTask
Результат void

AnalystScript() публичный Метод

Construct an analyst script.
public AnalystScript ( ) : System
Результат System

ClearTasks() публичный Метод

Clear all tasks.
public ClearTasks ( ) : void
Результат void

DetermineInputFormat() публичный Метод

Determine the input format for the specified file.
public DetermineInputFormat ( String sourceID ) : CSVFormat
sourceID String The file.
Результат Encog.Util.CSV.CSVFormat

DetermineOutputFormat() публичный Метод

Determine the output format.
public DetermineOutputFormat ( ) : CSVFormat
Результат Encog.Util.CSV.CSVFormat

ExpectInputHeaders() публичный Метод

Determine if input headers are expected.
public ExpectInputHeaders ( String filename ) : bool
filename String The filename.
Результат bool

FindDataField() публичный Метод

Find the specified data field. Use name to find, and ignore case.
public FindDataField ( String name ) : DataField
name String The name to search for.
Результат DataField

FindDataFieldIndex() публичный Метод

Find the specified data field and return its index.
public FindDataFieldIndex ( DataField df ) : int
df DataField The data field to search for.
Результат int

FindNormalizedField() публичный Метод

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.
Результат Encog.App.Analyst.Script.Normalize.AnalystField

GetTask() публичный Метод

Get the specified task.
public GetTask ( String name ) : AnalystTask
name String The name of the testk.
Результат Encog.App.Analyst.Script.Task.AnalystTask

Init() публичный Метод

Init this script.
public Init ( ) : void
Результат void

IsGenerated() публичный Метод

Determine if the specified file was generated.
public IsGenerated ( String filename ) : bool
filename String The filename to check.
Результат bool

Load() публичный Метод

Load the script.
public Load ( Stream stream ) : void
stream Stream The stream to load from.
Результат void

MarkGenerated() публичный Метод

Mark the sepcified filename as generated.
public MarkGenerated ( String filename ) : void
filename String The filename.
Результат void

ResolveFilename() публичный Метод

Resolve the specified filename.
public ResolveFilename ( String sourceID ) : FileInfo
sourceID String The filename to resolve.
Результат System.IO.FileInfo

Save() публичный Метод

Save to the specified output stream.
public Save ( Stream stream ) : void
stream Stream The output stream.
Результат void