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 int
dim
Dimension to use for clustering.static OptionID
DIM_ID
Dimension to use for clustering.protected int
k
Number of neighbors to use for bandwidth.static OptionID
K_ID
Number of neighbors for bandwidth estimation.protected KernelDensityFunction
kernel
Kernel density function.static OptionID
KERNEL_ID
Kernel function.protected int
minwindow
Window width, for local minima criterions.protected KNNKernelDensityMinimaClustering.Mode
mode
Estimation modes.static OptionID
MODE_ID
KDE mode.static OptionID
WINDOW_ID
Half 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 void
configure(Parameterization config)
Configure the class.KNNKernelDensityMinimaClustering
make()
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: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 KNNKernelDensityMinimaClustering 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
-
-