C# Класс Encog.App.Analyst.EncogAnalyst

Показать файл Открыть проект Примеры использования класса

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

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

Приватные методы

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

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

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

Add a listener.
public AddAnalystListener ( IAnalystListener listener ) : void
listener IAnalystListener The listener to add.
Результат void

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

Add a command.
public AddCommand ( Cmd cmd ) : void
cmd Encog.App.Analyst.Commands.Cmd The command to add.
Результат void

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

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.
Результат void

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

Determine the input count. This is the actual number of columns.
public DetermineInputCount ( ) : int
Результат int

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

Determine the input field count, the fields are higher-level than columns.
public DetermineInputFieldCount ( ) : int
Результат int

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

Determine the output count, this is the number of output columns needed.
public DetermineOutputCount ( ) : int
Результат int

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

Determine the number of output fields. Fields are higher level than columns.
public DetermineOutputFieldCount ( ) : int
Результат int

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

Determine the total number of columns.
public DetermineTotalColumns ( ) : int
Результат int

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

Determine the total input field count, minus ignored fields.
public DetermineTotalInputFieldCount ( ) : int
Результат int

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

Determine how many unique columns there are. Timeslices are not counted multiple times.
public DetermineUniqueColumns ( ) : int
Результат int

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

Determine the unique input field count. Timeslices are not counted multiple times.
public DetermineUniqueInputFieldCount ( ) : int
Результат int

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

Determine the unique output field count. Do not count timeslices multiple times.
public DetermineUniqueOutputFieldCount ( ) : int
Результат int

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

Download a raw file from the Internet.
public Download ( ) : void
Результат void

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

Construct the Encog analyst.
public EncogAnalyst ( ) : System
Результат System

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

Execute a task.
public ExecuteTask ( AnalystTask task ) : void
task Encog.App.Analyst.Script.Task.AnalystTask The task to execute.
Результат void

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

Execute a task.
public ExecuteTask ( String name ) : void
name String The name of the task to execute.
Результат void

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

Load the specified script file.
public Load ( FileInfo file ) : void
file System.IO.FileInfo The file to load.
Результат void

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

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

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

Load from the specified filename.
public Load ( String filename ) : void
filename String The filename to load from.
Результат void

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

Remove a listener.
public RemoveAnalystListener ( IAnalystListener listener ) : void
listener IAnalystListener The listener to remove.
Результат void

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

Report training.
public ReportTraining ( IMLTrain train ) : void
train IMLTrain The trainer.
Результат void

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

Report that training has begun.
public ReportTrainingBegin ( ) : void
Результат void

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

Report that training has ended.
public ReportTrainingEnd ( ) : void
Результат void

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

Save the script to a file.
public Save ( FileInfo file ) : void
file System.IO.FileInfo The file to save to.
Результат void

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

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

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

Save the script to a filename.
public Save ( String filename ) : void
filename String The filename to save to.
Результат void

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

Should the current command be stopped.
public ShouldStopCommand ( ) : bool
Результат bool