public static class NumberVectorLabelParser.Parameterizer<V extends NumberVector> extends AbstractStreamingParser.Parameterizer
Modifier and Type | Field and Description |
---|---|
protected NumberVector.Factory<V> |
factory
Factory object.
|
static OptionID |
LABEL_INDICES_ID
A comma separated list of the indices of labels (may be numeric),
counting whitespace separated entries in a line starting with 0.
|
protected long[] |
labelIndices
Keeps the indices of the attributes to be treated as a string label.
|
static OptionID |
VECTOR_TYPE_ID
Parameter to specify the type of vectors to produce.
|
format
Constructor and Description |
---|
NumberVectorLabelParser.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected void |
getFactory(Parameterization config)
Get the object factory.
|
protected void |
getLabelIndices(Parameterization config)
Get the label indices.
|
protected NumberVectorLabelParser<V> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public static final OptionID LABEL_INDICES_ID
Key: -parser.labelIndices
public static final OptionID VECTOR_TYPE_ID
Key: -parser.vector-type
Default: DoubleVector
protected long[] labelIndices
protected NumberVector.Factory<V extends NumberVector> factory
public NumberVectorLabelParser.Parameterizer()
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractStreamingParser.Parameterizer
config
- Parameterization to add options to.protected void getFactory(Parameterization config)
config
- Parameterizationprotected void getLabelIndices(Parameterization config)
config
- Parameterizationprotected NumberVectorLabelParser<V> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractStreamingParser.Parameterizer
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.