
@Deprecated public class DoubleVectorLabelParser extends NumberVectorLabelParser<DoubleVector>
Provides a parser for parsing one point per line, attributes separated by whitespace.
Several labels may be given per point. A label must not be parseable as double. Lines starting with "#" will be ignored.
An index can be specified to identify an entry to be treated as class label. This index counts all entries (numeric and labels as well) starting with 0.
| Modifier and Type | Class and Description |
|---|---|
static class |
DoubleVectorLabelParser.Parameterizer
Deprecated.
Parameterization class.
|
BundleStreamSource.Event| Modifier and Type | Field and Description |
|---|---|
private static Logging |
logger
Deprecated.
Class logger
|
columnnames, curlbl, curvec, dimensionality, DIMENSIONALITY_UNKNOWN, DIMENSIONALITY_VARIABLE, factory, LABEL_INDICES_ID, labelcolumns, labelIndices, lineNumber, meta, nextevent, VECTOR_TYPE_IDATTRIBUTE_CONCATENATION, COLUMN_SEPARATOR_ID, COMMENT, DEFAULT_SEPARATOR, NUMBER_PATTERN, QUOTE_CHAR, QUOTE_ID, quoteChar| Constructor and Description |
|---|
DoubleVectorLabelParser()
Deprecated.
Constructor with default values.
|
DoubleVectorLabelParser(Pattern colSep,
char quoteChar,
BitSet labelIndices)
Deprecated.
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Logging |
getLogger()
Deprecated.
Get the logger for this class.
|
buildMeta, createDBObject, data, getMeta, getTypeInformation, initStream, nextEvent, parseLineInternalparsetokenize, toStringprivate static final Logging logger
public DoubleVectorLabelParser(Pattern colSep, char quoteChar, BitSet labelIndices)
colSep - quoteChar - labelIndices - public DoubleVectorLabelParser()
protected Logging getLogger()
AbstractParsergetLogger in class NumberVectorLabelParser<DoubleVector>