public static class CachedDoubleDistanceKNNPreprocessor.Factory.Parameterizer<O> extends AbstractMaterializeKNNPreprocessor.Factory.Parameterizer<O,DoubleDistance>
Modifier and Type | Field and Description |
---|---|
static OptionID |
CACHE_ID
Option ID for the kNN file.
|
private File |
filename
Filename to load.
|
distanceFunction, k
Constructor and Description |
---|
CachedDoubleDistanceKNNPreprocessor.Factory.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected CachedDoubleDistanceKNNPreprocessor.Factory<O> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public static final OptionID CACHE_ID
private File filename
public CachedDoubleDistanceKNNPreprocessor.Factory.Parameterizer()
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractMaterializeKNNPreprocessor.Factory.Parameterizer<O,DoubleDistance>
config
- Parameterization to add options to.protected CachedDoubleDistanceKNNPreprocessor.Factory<O> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractMaterializeKNNPreprocessor.Factory.Parameterizer<O,DoubleDistance>