C# 클래스 Encog.App.Analyst.CSV.Normalize.AnalystNormalizeCSV

상속: Encog.App.Analyst.CSV.Basic.BasicFile
파일 보기 프로젝트 열기: encog/encog-silverlight-core 1 사용 예제들

공개 메소드들

메소드 설명
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