@Deprecated public class FloatVectorLabelParser extends NumberVectorLabelParser<FloatVector>
Provides a parser for parsing one point per line, attributes separated by whitespace.
Numerical values in a line will be parsed as double values but used in float precision only.
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 |
FloatVectorLabelParser.Parameterizer
Deprecated.
Parameterization class.
|
BundleStreamSource.Event
Modifier and Type | Field and Description |
---|---|
private static Logging |
LOG
Deprecated.
Class logger
|
columnnames, curlbl, curvec, dimensionality, DIMENSIONALITY_UNKNOWN, DIMENSIONALITY_VARIABLE, factory, LABEL_INDICES_ID, labelcolumns, labelIndices, lineNumber, meta, nextevent, VECTOR_TYPE_ID
ATTRIBUTE_CONCATENATION, COLUMN_SEPARATOR_ID, COMMENT, DEFAULT_SEPARATOR, NUMBER_PATTERN, QUOTE_CHAR, QUOTE_ID, quoteChar
Constructor and Description |
---|
FloatVectorLabelParser(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, parseLineInternal
parse
tokenize, toString
private static final Logging LOG
protected Logging getLogger()
AbstractParser
getLogger
in class NumberVectorLabelParser<FloatVector>