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

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

Méthodes publiques

Méthode 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

Méthode Description
PrepareOutputFile ( FileInfo outputFile ) : StreamWriter

Prepare the output file, write headers if needed.

Method Details

Analyze() public méthode

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.
Résultat void

Process() public méthode

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.
Résultat void