Java org.apache.mahout.classifier.sgd CsvRecordFactory fields, constructors, methods, implement or subclass

Example usage for Java org.apache.mahout.classifier.sgd CsvRecordFactory fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.mahout.classifier.sgd CsvRecordFactory.

The text is from its open source code.

Constructor

CsvRecordFactory(String targetName, Map typeMap)
Construct a parser for CSV lines that encodes the parsed data in vector form.

Method

voidfirstLine(String line)
Processes the first line of a file (which should contain the variable names).
ListgetTargetCategories()
Map>getTraceDictionary()
intprocessLine(String line, Vector featureVector)
Decodes a single line of CSV data and records the target and predictor variables in a record.