O
- Object typeD
- Distance typepublic static class ODIN.Parameterizer<O,D extends Distance<D>> extends AbstractDistanceBasedAlgorithm.Parameterizer<O,D>
Modifier and Type | Field and Description |
---|---|
(package private) int |
k
Number of nearest neighbors to use.
|
static OptionID |
K_ID
Parameter for the number of nearest neighbors:
-odin.k <int>
|
distanceFunction
Constructor and Description |
---|
ODIN.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected ODIN<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
-odin.k <int>
int k
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractDistanceBasedAlgorithm.Parameterizer<O,D extends Distance<D>>
config
- Parameterization to add options to.protected ODIN<O,D> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer