public static class TermFrequencyParser.Parameterizer<V extends SparseNumberVector> extends NumberVectorLabelParser.Parameterizer<V>
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
normalize
Normalization flag.
|
static OptionID |
NORMALIZE_FLAG
Option ID for normalization.
|
factory, LABEL_INDICES_ID, labelIndices, VECTOR_TYPE_ID
format
Constructor and Description |
---|
Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected void |
getFactory(Parameterization config)
Get the object factory.
|
protected TermFrequencyParser<V> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
getLabelIndices
configure, make
public static final OptionID NORMALIZE_FLAG
boolean normalize
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class NumberVectorLabelParser.Parameterizer<V extends SparseNumberVector>
config
- Parameterization to add options to.protected void getFactory(Parameterization config)
NumberVectorLabelParser.Parameterizer
getFactory
in class NumberVectorLabelParser.Parameterizer<V extends SparseNumberVector>
config
- Parameterizationprotected TermFrequencyParser<V> makeInstance()
AbstractParameterizer
makeInstance
in class NumberVectorLabelParser.Parameterizer<V extends SparseNumberVector>
Copyright © 2019 ELKI Development Team. License information.