public static class NumberVectorLabelParser.Parameterizer<V extends NumberVector<?>> extends AbstractParser.Parameterizer
Modifier and Type | Field and Description |
---|---|
protected NumberVector.Factory<V,?> |
factory
Factory object.
|
protected BitSet |
labelIndices
Keeps the indices of the attributes to be treated as a string label.
|
colSep, quoteChar
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
protected BitSet labelIndices
protected NumberVector.Factory<V extends NumberVector<?>,?> factory
public NumberVectorLabelParser.Parameterizer()
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractParser.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 AbstractParser.Parameterizer