public class CSVDataReader extends Object
| Modifier and Type | Field and Description |
|---|---|
String[] |
header |
Set<Integer> |
ignoredColumns |
int |
labelCol |
| Constructor and Description |
|---|
CSVDataReader(String filename,
int labelCol,
String delim,
Set<Integer> ignoredColumns) |
| Modifier and Type | Method and Description |
|---|---|
protected Tuple |
extractValuedFeat(org.apache.commons.csv.CSVRecord record) |
List<Tuple> |
read() |
List<Tuple> |
read(InputStream is) |
public int labelCol
public String[] header
public List<Tuple> read() throws IOException
IOExceptionprotected Tuple extractValuedFeat(org.apache.commons.csv.CSVRecord record)
public List<Tuple> read(InputStream is) throws IOException
IOExceptionCopyright © 2017. All rights reserved.