org.encog.app.analyst.csv
Class AnalystEvaluateCSV

java.lang.Object
  extended by org.encog.app.analyst.csv.basic.BasicFile
      extended by org.encog.app.analyst.csv.AnalystEvaluateCSV
All Implemented Interfaces:
QuantTask

public class AnalystEvaluateCSV
extends BasicFile

Used by the analyst to evaluate a CSV file.


Field Summary
 
Fields inherited from class org.encog.app.analyst.csv.basic.BasicFile
REPORT_INTERVAL
 
Constructor Summary
AnalystEvaluateCSV()
           
 
Method Summary
 void analyze(EncogAnalyst theAnalyst, File inputFile, boolean headers, CSVFormat format)
          Analyze the data.
 void process(File outputFile, MLMethod method)
          Process the file.
 
Methods inherited from class org.encog.app.analyst.csv.basic.BasicFile
appendSeparator, getColumnCount, getInputFilename, getInputFormat, getInputHeadings, getOutputFormat, getPrecision, getRecordCount, getReport, getReportInterval, getScript, isAnalyzed, isExpectInputHeaders, isProduceOutputHeaders, performBasicCounts, prepareOutputFile, readHeaders, reportDone, reportDone, requestStop, resetStatus, setAnalyzed, setColumnCount, setExpectInputHeaders, setInputFilename, setInputFormat, setInputHeadings, setOutputFormat, setPrecision, setProduceOutputHeaders, setRecordCount, setReport, setReportInterval, setScript, shouldStop, toString, updateStatus, updateStatus, validateAnalyzed, writeRow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnalystEvaluateCSV

public AnalystEvaluateCSV()
Method Detail

analyze

public final 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.
headers - True if headers are present.
format - The format.

process

public final void process(File outputFile,
                          MLMethod method)
Process the file.

Parameters:
outputFile - The output file.
method - THe method to use.


Copyright © 2011. All Rights Reserved.