C# Класс Encog.App.Analyst.CSV.AnalystClusterCSV

Used by the analyst to cluster a CSV file.
Наследование: Encog.App.Analyst.CSV.Basic.BasicFile
Показать файл Открыть проект Примеры использования класса

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

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

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

Метод Описание
PrepareOutputFile ( FileInfo outputFile ) : StreamWriter

Prepare the output file, write headers if needed.

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

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

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

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

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