@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.
|
attributes, columnnames, curlbl, curvec, factory, haslabels, labelcolumns, labelIndices, labels, lineNumber, maxdim, meta, mindim, nextevent, unique
ATTRIBUTE_CONCATENATION, comment, COMMENT_PATTERN, DEFAULT_SEPARATOR, NUMBER_PATTERN, QUOTE_CHARS, tokenizer
Constructor and Description |
---|
FloatVectorLabelParser(Pattern colSep,
String quoteChars,
Pattern comment,
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
lengthWithoutLinefeed, toString
private static final Logging LOG
protected Logging getLogger()
AbstractParser
getLogger
in class NumberVectorLabelParser<FloatVector>