public static class ClassLabelFilter.Parameterizer extends AbstractParameterizer
Modifier and Type | Field and Description |
---|---|
static OptionID |
CLASS_LABEL_CLASS_ID
Parameter to specify the class of occurring class labels.
|
static OptionID |
CLASS_LABEL_INDEX_ID
Optional parameter that specifies the index of the label to be used as
class label, must be an integer equal to or greater than 0.
|
private ClassLabel.Factory<?> |
classLabelFactory
The class label factory to use.
|
protected int |
classLabelIndex
The index of the label to be used as class label, null if no class label
is specified.
|
Constructor and Description |
---|
ClassLabelFilter.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected Object |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public static final OptionID CLASS_LABEL_INDEX_ID
Key: -dbc.classLabelIndex
public static final OptionID CLASS_LABEL_CLASS_ID
Key: -dbc.classLabelClass
protected int classLabelIndex
private ClassLabel.Factory<?> classLabelFactory
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractParameterizer
config
- Parameterization to add options to.protected Object makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer