Class ClusterRadius.Par
- java.lang.Object
-
- elki.evaluation.clustering.internal.ClusterRadius.Par
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- ClusterRadius
public static class ClusterRadius.Par extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description private NumberVectorDistance<?>
distance
Distance function to use.static OptionID
DISTANCE_ID
Parameter for choosing the distance function.static OptionID
NOISE_ID
Parameter to treat noise as a single cluster.private NoiseHandling
noiseOption
Handling of noise clusters.
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Parameterization config)
Configure the class.ClusterRadius
make()
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 to treat noise as a single cluster.
-
distance
private NumberVectorDistance<?> distance
Distance function to use.
-
noiseOption
private NoiseHandling noiseOption
Handling of noise clusters.
-
-
Method Detail
-
configure
public void configure(Parameterization config)
Description copied from interface:Parameterizer
Configure 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:
configure
in interfaceParameterizer
- Parameters:
config
- Parameterization
-
make
public ClusterRadius make()
Description copied from interface:Parameterizer
Make an instance after successful configuration.Note: your class should return the exact type, only this very broad interface should use
Object
as return type.- Specified by:
make
in interfaceParameterizer
- Returns:
- a new instance
-
-