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 |
---|
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
public static final OptionID VECTOR_TYPE_ID
protected long[] labelIndices
protected NumberVector.Factory<V extends NumberVector> factory
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 © 2019 ELKI Development Team. License information.