|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.app.analyst.csv.basic.BasicFile
org.encog.app.analyst.csv.shuffle.ShuffleCSV
public class ShuffleCSV
Randomly shuffle the lines of a CSV file.
Field Summary | |
---|---|
static int |
DEFAULT_BUFFER_SIZE
The default buffer size. |
Fields inherited from class org.encog.app.analyst.csv.basic.BasicFile |
---|
REPORT_INTERVAL |
Constructor Summary | |
---|---|
ShuffleCSV()
Construct the object. |
Method Summary | |
---|---|
void |
analyze(File inputFile,
boolean headers,
CSVFormat format)
Analyze the neural network. |
int |
getBufferSize()
|
void |
process(File outputFile)
Process, and generate the output file. |
void |
setBufferSize(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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_BUFFER_SIZE
Constructor Detail |
---|
public ShuffleCSV()
Method Detail |
---|
public void analyze(File inputFile, boolean headers, CSVFormat format)
inputFile
- The input file.headers
- True, if there are headers.format
- The format of the CSV file.public int getBufferSize()
public void process(File outputFile)
outputFile
- The output file.public void setBufferSize(int s)
s
- The new buffer size.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |