public static class KNNDistanceOrder.Parameterizer<O,D extends Distance<D>> extends AbstractDistanceBasedAlgorithm.Parameterizer<O,D>
Modifier and Type | Field and Description |
---|---|
protected int |
k
Parameter k.
|
protected double |
percentage
Percentage.
|
distanceFunction
Constructor and Description |
---|
KNNDistanceOrder.Parameterizer()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected KNNDistanceOrder<O,D> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public KNNDistanceOrder.Parameterizer()
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractDistanceBasedAlgorithm.Parameterizer<O,D extends Distance<D>>
config
- Parameterization to add options to.protected KNNDistanceOrder<O,D> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer