org.encog.app.analyst.csv.normalize
Class AnalystNormalizeToEGB
- java.lang.Object
-
- org.encog.app.analyst.csv.basic.BasicFile
-
- org.encog.app.analyst.csv.normalize.AnalystNormalizeToEGB
-
-
Field Summary
-
Fields inherited from class org.encog.app.analyst.csv.basic.BasicFile
REPORT_INTERVAL
-
-
Constructor Summary
Constructors Constructor and Description AnalystNormalizeToEGB()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidanalyze(java.io.File inputFilename, boolean expectInputHeaders, CSVFormat inputFormat, EncogAnalyst theAnalyst)Analyze the file.voidnormalize(java.io.File file)Normalize the input file.voidsetSourceFile(java.io.File file, boolean headers, CSVFormat format)Set the source 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
-
-
-
-
Method Detail
-
analyze
public void analyze(java.io.File inputFilename, boolean expectInputHeaders, CSVFormat inputFormat, EncogAnalyst theAnalyst)Analyze the file.- Parameters:
inputFilename- The input file.expectInputHeaders- True, if input headers are present.inputFormat- The format.theAnalyst- The analyst to use.
-
normalize
public void normalize(java.io.File file)
Normalize the input file. Write to the specified file.- Parameters:
file- The file to write to.
-
setSourceFile
public void setSourceFile(java.io.File file, boolean headers, CSVFormat format)Set the source file. This is useful if you want to use pre-existing stats to normalize something and skip the analyze step.- Parameters:
file- The file to use.headers- True, if headers are to be expected.format- The format of the CSV file.
-
-
DMelt 3.0 © DataMelt by jWork.ORG