org.encog.app.analyst.csv
Class AnalystClusterCSV
java.lang.Object
org.encog.app.analyst.csv.basic.BasicFile
org.encog.app.analyst.csv.AnalystClusterCSV
- All Implemented Interfaces:
- QuantTask
public class AnalystClusterCSV
- extends BasicFile
Used by the analyst to cluster a CSV file.
Methods inherited from class org.encog.app.analyst.csv.basic.BasicFile |
appendSeparator, getColumnCount, getFormat, getInputFilename, getInputHeadings, getPrecision, getRecordCount, getReport, getReportInterval, getScript, isAnalyzed, isExpectInputHeaders, isProduceOutputHeaders, performBasicCounts, prepareOutputFile, readHeaders, reportDone, reportDone, requestStop, resetStatus, setAnalyzed, setColumnCount, setExpectInputHeaders, setInputFilename, setInputFormat, setInputHeadings, setPrecision, setProduceOutputHeaders, setRecordCount, setReport, setReportInterval, setScript, shouldStop, toString, updateStatus, updateStatus, validateAnalyzed, writeRow |
AnalystClusterCSV
public AnalystClusterCSV()
analyze
public void analyze(EncogAnalyst theAnalyst,
File inputFile,
boolean headers,
CSVFormat format)
- Analyze the data. This counts the records and prepares the data to be
processed.
- Parameters:
theAnalyst
- The analyst to use.inputFile
- The input file to analyze.headers
- True, if the input file has headers.format
- The format of the input file.
process
public void process(File outputFile,
int clusters,
EncogAnalyst theAnalyst,
int iterations)
- Process the file and cluster.
- Parameters:
outputFile
- The output file.clusters
- The number of clusters.theAnalyst
- The analyst to use.iterations
- The number of iterations to use.
Copyright © 2014. All Rights Reserved.