public static class LOF.Parameterizer<O,D extends NumberDistance<D,?>> extends AbstractDistanceBasedAlgorithm.Parameterizer<O,D>
Modifier and Type | Field and Description |
---|---|
protected int |
k
The neighborhood size to use.
|
static OptionID |
K_ID
Parameter to specify the number of nearest neighbors of an object to be
considered for computing its LOF_SCORE, must be an integer greater than
1.
|
distanceFunction
Constructor and Description |
---|
LOF.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected LOF<O,D> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public static final OptionID K_ID
protected int k
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractDistanceBasedAlgorithm.Parameterizer<O,D extends NumberDistance<D,?>>
config
- Parameterization to add options to.protected LOF<O,D> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer