public static class PartitionApproximationMaterializeKNNPreprocessor.Factory.Parameterizer<O> extends AbstractMaterializeKNNPreprocessor.Factory.Parameterizer<O>
Modifier and Type | Field and Description |
---|---|
protected int |
partitions
Number of partitions
|
static OptionID |
PARTITIONS_ID
Parameter to specify the number of partitions to use for materializing
the kNN.
|
private RandomFactory |
rnd
Random generator
|
static OptionID |
SEED_ID
Parameter to specify the random number generator.
|
distanceFunction, k
Constructor and Description |
---|
Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected PartitionApproximationMaterializeKNNPreprocessor.Factory<O> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public static final OptionID PARTITIONS_ID
Key: -partknn.p
public static final OptionID SEED_ID
Key: -partknn.seed
protected int partitions
private RandomFactory rnd
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractMaterializeKNNPreprocessor.Factory.Parameterizer<O>
config
- Parameterization to add options to.protected PartitionApproximationMaterializeKNNPreprocessor.Factory<O> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractMaterializeKNNPreprocessor.Factory.Parameterizer<O>
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.