org.encog.app.analyst.csv.basic
public class BasicCachedFile extends BasicFile
REPORT_INTERVAL
Constructor and Description |
---|
BasicCachedFile() |
Modifier and Type | Method and Description |
---|---|
void |
addColumn(BaseCachedColumn column)
Add a new column.
|
void |
analyze(File input,
boolean headers,
CSVFormat format)
Analyze the input file.
|
String |
getColumnData(String name,
ReadCSV csv)
Get the data for a specific column.
|
Map<String,BaseCachedColumn> |
getColumnMapping() |
List<BaseCachedColumn> |
getColumns() |
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
public void addColumn(BaseCachedColumn column)
column
- The column to add.public void analyze(File input, boolean headers, CSVFormat format)
input
- The input file.headers
- True, if there are headers.format
- The format of the CSV data.public String getColumnData(String name, ReadCSV csv)
name
- The column to read.csv
- The CSV file to read from.public Map<String,BaseCachedColumn> getColumnMapping()
public List<BaseCachedColumn> getColumns()
Copyright © 2014. All Rights Reserved.