org.encog.app.analyst.csv.shuffle
Class ShuffleCSV
- java.lang.Object
-
- org.encog.app.analyst.csv.basic.BasicFile
-
- org.encog.app.analyst.csv.shuffle.ShuffleCSV
-
-
Field Summary
Fields Modifier and Type Field and Description static intDEFAULT_BUFFER_SIZEThe default buffer size.-
Fields inherited from class org.encog.app.analyst.csv.basic.BasicFile
REPORT_INTERVAL
-
-
Constructor Summary
Constructors Constructor and Description ShuffleCSV()Construct the object.
-
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.intgetBufferSize()voidprocess(java.io.File outputFile)Process, and generate the output file.voidsetBufferSize(int s)Set the buffer size.-
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
-
-
-
-
Field Detail
-
DEFAULT_BUFFER_SIZE
public static final int DEFAULT_BUFFER_SIZE
The default buffer size.- See Also:
- Constant Field Values
-
-
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.
-
getBufferSize
public int getBufferSize()
- Returns:
- The buffer size. This is how many rows of data are loaded(and randomized), at a time. The default is 5,000.
-
process
public void process(java.io.File outputFile)
Process, and generate the output file.- Parameters:
outputFile- The output file.
-
setBufferSize
public void setBufferSize(int s)
Set the buffer size.- Parameters:
s- The new buffer size.
-
-
DMelt 3.0 © DataMelt by jWork.ORG