Class ClassLabelFilter.Par
- java.lang.Object
-
- elki.datasource.filter.typeconversions.ClassLabelFilter.Par
-
- All Implemented Interfaces:
elki.utilities.optionhandling.Parameterizer
- Enclosing class:
- ClassLabelFilter
public static class ClassLabelFilter.Par extends java.lang.Object implements elki.utilities.optionhandling.ParameterizerParameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description static elki.utilities.optionhandling.OptionIDCLASS_LABEL_CLASS_IDParameter to specify the class of occurring class labels.static elki.utilities.optionhandling.OptionIDCLASS_LABEL_INDEX_IDOptional 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 elki.data.ClassLabel.Factory<?>classLabelFactoryThe class label factory to use.protected intclassLabelIndexThe index of the label to be used as class label, null if no class label is specified.
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(elki.utilities.optionhandling.parameterization.Parameterization config)ClassLabelFiltermake()
-
-
-
Field Detail
-
CLASS_LABEL_INDEX_ID
public static final elki.utilities.optionhandling.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.
-
CLASS_LABEL_CLASS_ID
public static final elki.utilities.optionhandling.OptionID CLASS_LABEL_CLASS_ID
Parameter to specify the class of occurring class labels.
-
classLabelIndex
protected int classLabelIndex
The index of the label to be used as class label, null if no class label is specified.
-
classLabelFactory
private elki.data.ClassLabel.Factory<?> classLabelFactory
The class label factory to use.
-
-
Method Detail
-
configure
public void configure(elki.utilities.optionhandling.parameterization.Parameterization config)
- Specified by:
configurein interfaceelki.utilities.optionhandling.Parameterizer
-
make
public ClassLabelFilter make()
- Specified by:
makein interfaceelki.utilities.optionhandling.Parameterizer
-
-