Class PBMIndex.Par
- java.lang.Object
-
- elki.evaluation.clustering.internal.PBMIndex.Par
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- PBMIndex
public static class PBMIndex.Par extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Stephan Baier, Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description private NumberVectorDistance<?>distanceDistance function to use.static OptionIDDISTANCE_IDParameter for choosing the distance function.static OptionIDNOISE_IDParameter for the option, how noise should be treated.private NoiseHandlingnoiseHandlingOption, how noise should be treated.
-
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.PBMIndexmake()Make an instance after successful configuration.
-
-
-
Field Detail
-
DISTANCE_ID
public static final OptionID DISTANCE_ID
Parameter for choosing the distance function.
-
NOISE_ID
public static final OptionID NOISE_ID
Parameter for the option, how noise should be treated.
-
distance
private NumberVectorDistance<?> distance
Distance function to use.
-
noiseHandling
private NoiseHandling noiseHandling
Option, how noise should be treated.
-
-
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 PBMIndex 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
-
-