org.encog.app.analyst.csv.process
Class AnalystProcess
- java.lang.Object
-
- org.encog.app.analyst.csv.basic.BasicFile
-
- org.encog.app.analyst.csv.process.AnalystProcess
-
-
Field Summary
-
Fields inherited from class org.encog.app.analyst.csv.basic.BasicFile
REPORT_INTERVAL
-
-
Constructor Summary
Constructors Constructor and Description AnalystProcess(EncogAnalyst theAnalyst, int theBackwardWindowSize, int theForwardWindowSize)Construct the object for time series.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidanalyze(java.io.File inputFile, boolean headers, CSVFormat format)Analyze the neural network.java.io.PrintWriterprepareOutputFile(java.io.File outputFile)Prepare the output file, write headers if needed.voidprocess(java.io.File outputFile)Process, and generate the output 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, readHeaders, reportDone, reportDone, requestStop, resetStatus, setAnalyzed, setColumnCount, setExpectInputHeaders, setInputFilename, setInputFormat, setInputHeadings, setPrecision, setProduceOutputHeaders, setRecordCount, setReport, setReportInterval, setScript, shouldStop, toString, updateStatus, updateStatus, validateAnalyzed, writeRow
-
-
-
-
Constructor Detail
-
AnalystProcess
public AnalystProcess(EncogAnalyst theAnalyst, int theBackwardWindowSize, int theForwardWindowSize)
Construct the object for time series.- Parameters:
theAnalyst- The analyst that this process belongs to.theBackwardWindowSize- The size of the window going back.theForwardWindowSize- The size of the window going forward.
-
-
Method Detail
-
analyze
public void analyze(java.io.File inputFile, boolean headers, CSVFormat format)Analyze the neural network.- Parameters:
inputFile- The input file.headers- True, if there are headers.format- The format of the CSV file.
-
prepareOutputFile
public java.io.PrintWriter prepareOutputFile(java.io.File outputFile)
Prepare the output file, write headers if needed.- Overrides:
prepareOutputFilein classBasicFile- Parameters:
outputFile- The name of the output file.- Returns:
- The output stream for the text file.
-
process
public void process(java.io.File outputFile)
Process, and generate the output file.- Parameters:
outputFile- The output file.
-
-
DMelt 3.0 © DataMelt by jWork.ORG