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
Share of objects to consider for computing the kNN.
|
distanceFunction, k
Constructor and Description |
---|
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, make
public static final OptionID SHARE_ID
public static final OptionID SEED_ID
private double share
private RandomFactory rnd
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractMaterializeKNNPreprocessor.Factory.Parameterizer<O>
config
- Parameterization to add options to.protected RandomSampleKNNPreprocessor.Factory<O> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractMaterializeKNNPreprocessor.Factory.Parameterizer<O>
Copyright © 2019 ELKI Development Team. License information.