C# Class Encog.App.Analyst.CSV.AnalystClusterCSV

Used by the analyst to cluster a CSV file.
Inheritance: Encog.App.Analyst.CSV.Basic.BasicFile
Exibir arquivo Open project: encog/encog-silverlight-core Class Usage Examples

Public Methods

Method Description
Analyze ( EncogAnalyst theAnalyst, FileInfo inputFile, bool headers, CSVFormat format ) : void

Analyze the data. This counts the records and prepares the data to be processed.

Process ( FileInfo outputFile, int clusters, EncogAnalyst theAnalyst, int iterations ) : void

Process the file and cluster.

Private Methods

Method Description
PrepareOutputFile ( FileInfo outputFile ) : StreamWriter

Prepare the output file, write headers if needed.

Method Details

Analyze() public method

Analyze the data. This counts the records and prepares the data to be processed.
public Analyze ( EncogAnalyst theAnalyst, FileInfo inputFile, bool headers, CSVFormat format ) : void
theAnalyst EncogAnalyst The analyst to use.
inputFile System.IO.FileInfo The input file to analyze.
headers bool True, if the input file has headers.
format Encog.Util.CSV.CSVFormat The format of the input file.
return void

Process() public method

Process the file and cluster.
public Process ( FileInfo outputFile, int clusters, EncogAnalyst theAnalyst, int iterations ) : void
outputFile System.IO.FileInfo The output file.
clusters int The number of clusters.
theAnalyst EncogAnalyst The analyst to use.
iterations int The number of iterations to use.
return void