Package elki.clustering.onedimensional
Class KNNKernelDensityMinimaClustering.Par
- java.lang.Object
-
- elki.clustering.onedimensional.KNNKernelDensityMinimaClustering.Par
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- KNNKernelDensityMinimaClustering
public static class KNNKernelDensityMinimaClustering.Par extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description protected intdimDimension to use for clustering.static OptionIDDIM_IDDimension to use for clustering.protected intkNumber of neighbors to use for bandwidth.static OptionIDK_IDNumber of neighbors for bandwidth estimation.protected KernelDensityFunctionkernelKernel density function.static OptionIDKERNEL_IDKernel function.protected intminwindowWindow width, for local minima criterions.protected KNNKernelDensityMinimaClustering.ModemodeEstimation modes.static OptionIDMODE_IDKDE mode.static OptionIDWINDOW_IDHalf window width to find local minima.
-
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.KNNKernelDensityMinimaClusteringmake()Make an instance after successful configuration.
-
-
-
Field Detail
-
DIM_ID
public static final OptionID DIM_ID
Dimension to use for clustering.
-
KERNEL_ID
public static final OptionID KERNEL_ID
Kernel function.
-
MODE_ID
public static final OptionID MODE_ID
KDE mode.
-
K_ID
public static final OptionID K_ID
Number of neighbors for bandwidth estimation.
-
WINDOW_ID
public static final OptionID WINDOW_ID
Half window width to find local minima.
-
dim
protected int dim
Dimension to use for clustering.
-
kernel
protected KernelDensityFunction kernel
Kernel density function.
-
mode
protected KNNKernelDensityMinimaClustering.Mode mode
Estimation modes.
-
k
protected int k
Number of neighbors to use for bandwidth.
-
minwindow
protected int minwindow
Window width, for local minima criterions.
-
-
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 KNNKernelDensityMinimaClustering 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
-
-