Package elki.clustering.kmeans
Class BetulaLloydKMeans.Par
- java.lang.Object
-
- elki.clustering.kmeans.AbstractKMeans.Par<NumberVector>
-
- elki.clustering.kmeans.BetulaLloydKMeans.Par
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- BetulaLloydKMeans
public static class BetulaLloydKMeans.Par extends AbstractKMeans.Par<NumberVector>
Parameterization class.- Author:
- Andreas Lang
-
-
Field Summary
Fields Modifier and Type Field Description (package private) CFTree.Factory<?>
cffactory
CFTree factory.static OptionID
IGNORE_WEIGHT_ID
Ignore cluster weights (naive approach)(package private) boolean
ignoreWeight
Ignore weight(package private) AbstractCFKMeansInitialization
initialization
initialization methodstatic OptionID
STORE_IDS_ID
Option to store ids rather than reassigning.(package private) boolean
storeIds
Store ids-
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.BetulaLloydKMeans
make()
Make an instance after successful configuration.-
Methods inherited from class elki.clustering.kmeans.AbstractKMeans.Par
getParameterDistance, getParameterInitialization, getParameterK, getParameterMaxIter, getParameterVarstat, needsMetric
-
-
-
-
Field Detail
-
STORE_IDS_ID
public static final OptionID STORE_IDS_ID
Option to store ids rather than reassigning.
-
IGNORE_WEIGHT_ID
public static final OptionID IGNORE_WEIGHT_ID
Ignore cluster weights (naive approach)
-
cffactory
CFTree.Factory<?> cffactory
CFTree factory.
-
initialization
AbstractCFKMeansInitialization initialization
initialization method
-
storeIds
boolean storeIds
Store ids
-
ignoreWeight
boolean ignoreWeight
Ignore weight
-
-
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<NumberVector>
- Parameters:
config
- Parameterization
-
make
public BetulaLloydKMeans 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<NumberVector>
- Returns:
- a new instance
-
-