Package elki.clustering.kmeans
Class KMeansMinusMinus.Par<V extends NumberVector>
- java.lang.Object
-
- elki.clustering.kmeans.AbstractKMeans.Par<V>
-
- elki.clustering.kmeans.KMeansMinusMinus.Par<V>
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- KMeansMinusMinus<V extends NumberVector>
public static class KMeansMinusMinus.Par<V extends NumberVector> extends AbstractKMeans.Par<V>
Parameterization class.- Author:
- Jonas Steinke
-
-
Field Summary
Fields Modifier and Type Field Description static OptionID
NOISE_FLAG_ID
Flag to produce a "noise" cluster, instead of assigning them to the nearest neighbor.private boolean
noiseFlag
Noise cluster flag.private double
rate
Outlier rate.static OptionID
RATE_ID
Parameter to specify the number of neighbors to ignore.-
Fields inherited from class elki.clustering.kmeans.AbstractKMeans.Par
distance, initializer, k, maxiter, varstat
-
-
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.KMeansMinusMinus<V>
make()
Make an instance after successful configuration.-
Methods inherited from class elki.clustering.kmeans.AbstractKMeans.Par
getParameterDistance, getParameterInitialization, getParameterK, getParameterMaxIter, getParameterVarstat, needsMetric
-
-
-
-
Field Detail
-
RATE_ID
public static final OptionID RATE_ID
Parameter to specify the number of neighbors to ignore.
-
NOISE_FLAG_ID
public static final OptionID NOISE_FLAG_ID
Flag to produce a "noise" cluster, instead of assigning them to the nearest neighbor.
-
rate
private double rate
Outlier rate.
-
noiseFlag
private boolean noiseFlag
Noise cluster flag.
-
-
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
- Overrides:
configure
in classAbstractKMeans.Par<V extends NumberVector>
- Parameters:
config
- Parameterization
-
make
public KMeansMinusMinus<V> 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
- Specified by:
make
in classAbstractKMeans.Par<V extends NumberVector>
- Returns:
- a new instance
-
-