O
- vector typeD
- distance typepublic static class LDF.Parameterizer<O extends NumberVector<?>,D extends NumberDistance<D,?>> extends AbstractDistanceBasedAlgorithm.Parameterizer<O,D>
Modifier and Type | Field and Description |
---|---|
protected double |
c
Scaling constant, to limit value range to 1/c
|
static OptionID |
C_ID
Option ID for c
|
protected double |
h
Bandwidth scaling factor.
|
static OptionID |
H_ID
Option ID for h - kernel bandwidth scaling
|
protected int |
k
The neighborhood size to use.
|
static OptionID |
K_ID
Option ID for k
|
(package private) KernelDensityFunction |
kernel
Kernel density function parameter
|
static OptionID |
KERNEL_ID
Option ID for kernel.
|
distanceFunction
Constructor and Description |
---|
LDF.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected LDF<O,D> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public static final OptionID KERNEL_ID
public static final OptionID K_ID
public static final OptionID H_ID
public static final OptionID C_ID
protected int k
KernelDensityFunction kernel
protected double h
protected double c
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractDistanceBasedAlgorithm.Parameterizer<O extends NumberVector<?>,D extends NumberDistance<D,?>>
config
- Parameterization to add options to.protected LDF<O,D> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer