
O - Object typepublic static class RandomSampleKNNPreprocessor.Factory.Parameterizer<O> extends AbstractMaterializeKNNPreprocessor.Factory.Parameterizer<O>
| Modifier and Type | Field and Description |
|---|---|
private RandomFactory |
rnd
Random generator
|
static OptionID |
SEED_ID
Random number generator seed.
|
private double |
share
Relative share of objects to get
|
static OptionID |
SHARE_ID
Parameter to specify how many objects to consider for computing the
kNN.
|
distanceFunction, k| Constructor and Description |
|---|
RandomSampleKNNPreprocessor.Factory.Parameterizer() |
| Modifier and Type | Method and Description |
|---|---|
protected RandomSampleKNNPreprocessor.Factory<O> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, makepublic static final OptionID SHARE_ID
Key: -randomknn.share
public static final OptionID SEED_ID
Key: -randomknn.seed
private double share
private RandomFactory rnd
public RandomSampleKNNPreprocessor.Factory.Parameterizer()
protected void makeOptions(Parameterization config)
AbstractParameterizermakeOptions in class AbstractMaterializeKNNPreprocessor.Factory.Parameterizer<O>config - Parameterization to add options to.protected RandomSampleKNNPreprocessor.Factory<O> makeInstance()
AbstractParameterizermakeInstance 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.