Package elki.clustering.em
Class KDTreeEM.Par
- java.lang.Object
-
- elki.clustering.em.KDTreeEM.Par
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- KDTreeEM
public static class KDTreeEM.Par extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Erich Schubert, Robert Gehde
-
-
Field Summary
Fields Modifier and Type Field Description protected doubledeltaStopping thresholdstatic OptionIDDELTA_IDParameter to specify the termination criterion for maximization of E(M): E(M) - E(M') < em.delta, must be a double equal to or greater than 0.static OptionIDEXACT_ASSIGN_IDParameter to produce more precise final assignments(package private) booleanexactAssignPerform the slower exact assignment step.protected intkNumber of clusters.static OptionIDK_IDParameter to specify the number of clusters to find.protected intmaxiterMaximum number of iterations.static OptionIDMAXITER_IDParameter to specify a maximum number of iterationsprotected doublembwconstruction thresholdstatic OptionIDMBW_IDParameter to specify the termination criterion for kd-tree construction.protected TextbookMultivariateGaussianModelFactorymfactoryCluster model factory.protected intminiterMinimum number of iterations.static OptionIDMINITER_IDParameter to specify a minimum number of iterations(package private) booleansoftRetain soft assignments?static OptionIDSOFT_IDParameter to specify the saving of soft assignmentsprotected doubletaucutoff thresholdstatic OptionIDTAU_CLASS_IDdrop one class if the maximum weight of a class in the bounding box is lower than tauClass * wmin_max, where wmin_max is the maximum minimum weight of all classesstatic OptionIDTAU_IDParameter to specify the pruning criterion during the algorithm.protected doubletauclasscutoff safety threshold
-
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.KDTreeEMmake()Make an instance after successful configuration.
-
-
-
Field Detail
-
K_ID
public static final OptionID K_ID
Parameter to specify the number of clusters to find.
-
DELTA_ID
public static final OptionID DELTA_ID
Parameter to specify the termination criterion for maximization of E(M): E(M) - E(M') < em.delta, must be a double equal to or greater than 0.
-
MBW_ID
public static final OptionID MBW_ID
Parameter to specify the termination criterion for kd-tree construction. Stop splitting nodes when the width is smaller then mbw * dataset_width. Must be between 0 and 1.
-
TAU_ID
public static final OptionID TAU_ID
Parameter to specify the pruning criterion during the algorithm. Stop going down the kd-tree when possible weight error e < tau * totalweight. Must be between 0 and 1. Low for precise, high for fast results.
-
TAU_CLASS_ID
public static final OptionID TAU_CLASS_ID
drop one class if the maximum weight of a class in the bounding box is lower than tauClass * wmin_max, where wmin_max is the maximum minimum weight of all classes
-
MINITER_ID
public static final OptionID MINITER_ID
Parameter to specify a minimum number of iterations
-
MAXITER_ID
public static final OptionID MAXITER_ID
Parameter to specify a maximum number of iterations
-
SOFT_ID
public static final OptionID SOFT_ID
Parameter to specify the saving of soft assignments
-
EXACT_ASSIGN_ID
public static final OptionID EXACT_ASSIGN_ID
Parameter to produce more precise final assignments
-
k
protected int k
Number of clusters.
-
mbw
protected double mbw
construction threshold
-
tau
protected double tau
cutoff threshold
-
tauclass
protected double tauclass
cutoff safety threshold
-
delta
protected double delta
Stopping threshold
-
mfactory
protected TextbookMultivariateGaussianModelFactory mfactory
Cluster model factory.
-
miniter
protected int miniter
Minimum number of iterations.
-
maxiter
protected int maxiter
Maximum number of iterations.
-
soft
boolean soft
Retain soft assignments?
-
exactAssign
boolean exactAssign
Perform the slower exact assignment step.
-
-
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 KDTreeEM 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
-
-