Class VarianceRatioCriterion.Par
- java.lang.Object
-
- elki.evaluation.clustering.internal.VarianceRatioCriterion.Par
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- VarianceRatioCriterion
public static class VarianceRatioCriterion.Par extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Stephan Baier
-
-
Field Summary
Fields Modifier and Type Field Description static OptionIDNO_PENALIZE_IDDo not penalize ignored noise.static OptionIDNOISE_IDParameter for the option, how noise should be treated.private NoiseHandlingnoiseOptionOption, how noise should be treated.private booleanpenalizePenalize noise, ifNoiseHandling.IGNORE_NOISEis set.
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(Parameterization config)Configure the class.VarianceRatioCriterionmake()Make an instance after successful configuration.
-
-
-
Field Detail
-
NOISE_ID
public static final OptionID NOISE_ID
Parameter for the option, how noise should be treated.
-
NO_PENALIZE_ID
public static final OptionID NO_PENALIZE_ID
Do not penalize ignored noise.
-
noiseOption
private NoiseHandling noiseOption
Option, how noise should be treated.
-
penalize
private boolean penalize
Penalize noise, ifNoiseHandling.IGNORE_NOISEis set.
-
-
Method Detail
-
configure
public void configure(Parameterization config)
Description copied from interface:ParameterizerConfigure the class.Note: the status is collected by the parameterization object, so that multiple errors may arise and be reported in one run.
- Specified by:
configurein interfaceParameterizer- Parameters:
config- Parameterization
-
make
public VarianceRatioCriterion make()
Description copied from interface:ParameterizerMake an instance after successful configuration.Note: your class should return the exact type, only this very broad interface should use
Objectas return type.- Specified by:
makein interfaceParameterizer- Returns:
- a new instance
-
-