O
- Object typepublic static class KNNSOS.Parameterizer<O> extends AbstractDistanceBasedAlgorithm.Parameterizer<O>
Modifier and Type | Field and Description |
---|---|
(package private) int |
k
Number of neighbors
|
static OptionID |
KNN_ID
Parameter to specify the number of neighbors
|
distanceFunction
Constructor and Description |
---|
Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected KNNSOS<O> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public static final OptionID KNN_ID
int k
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractDistanceBasedAlgorithm.Parameterizer<O>
config
- Parameterization to add options to.protected KNNSOS<O> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer
Copyright © 2019 ELKI Development Team. License information.