C# Класс Encog.App.Analyst.CSV.Normalize.AnalystNormalizeCSV

Наследование: Encog.App.Analyst.CSV.Basic.BasicFile
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Analyze ( FileInfo inputFilename, bool expectInputHeaders, CSVFormat inputFormat, EncogAnalyst theAnalyst ) : void

Analyze the file.

ExtractFields ( EncogAnalyst analyst, CSVHeaders headers, ReadCSV csv, int outputLength, bool skipOutput ) : double[]

Extract fields from a file into a numeric array for machine learning.

Normalize ( FileInfo file ) : void

Normalize the input file. Write to the specified file.

SetSourceFile ( FileInfo file, bool headers, CSVFormat format ) : void

Set the source file. This is useful if you want to use pre-existing stats to normalize something and skip the analyze step.

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

Метод Описание
WriteHeaders ( StreamWriter tw ) : void

Write the headers.

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

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

Analyze the file.
public Analyze ( FileInfo inputFilename, bool expectInputHeaders, CSVFormat inputFormat, EncogAnalyst theAnalyst ) : void
inputFilename System.IO.FileInfo The input file.
expectInputHeaders bool True, if input headers are present.
inputFormat Encog.Util.CSV.CSVFormat The format.
theAnalyst Encog.App.Analyst.EncogAnalyst The analyst to use.
Результат void

ExtractFields() публичный статический Метод

Extract fields from a file into a numeric array for machine learning.
public static ExtractFields ( EncogAnalyst analyst, CSVHeaders headers, ReadCSV csv, int outputLength, bool skipOutput ) : double[]
analyst Encog.App.Analyst.EncogAnalyst The analyst to use.
headers Encog.App.Analyst.Util.CSVHeaders The headers for the input data.
csv Encog.Util.CSV.ReadCSV The CSV that holds the input data.
outputLength int The length of the returned array.
skipOutput bool True if the output should be skipped.
Результат double[]

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

Normalize the input file. Write to the specified file.
public Normalize ( FileInfo file ) : void
file System.IO.FileInfo The file to write to.
Результат void

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

Set the source file. This is useful if you want to use pre-existing stats to normalize something and skip the analyze step.
public SetSourceFile ( FileInfo file, bool headers, CSVFormat format ) : void
file System.IO.FileInfo The file to use.
headers bool True, if headers are to be expected.
format Encog.Util.CSV.CSVFormat The format of the CSV file.
Результат void