Example usage for Java org.apache.mahout.classifier.sgd CsvRecordFactory fields, constructors, methods, implement or subclass
The text is from its open source code.
CsvRecordFactory(String targetName, Map Construct a parser for CSV lines that encodes the parsed data in vector form. |
void | firstLine(String line) Processes the first line of a file (which should contain the variable names). |
List | getTargetCategories() |
Map | getTraceDictionary() |
int | processLine(String line, Vector featureVector) Decodes a single line of CSV data and records the target and predictor variables in a record. |