public static class KNNDistancesSampler.Parameterizer<O> extends AbstractDistanceBasedAlgorithm.Parameterizer<O>
| Modifier and Type | Field and Description | 
|---|---|
protected int | 
k
Parameter k. 
 | 
static OptionID | 
K_ID
Parameter to specify the distance of the k-distant object to be assessed,
 must be an integer greater than 0. 
 | 
protected double | 
percentage
Sampling percentage. 
 | 
private RandomFactory | 
rnd
Random number seeding. 
 | 
static OptionID | 
SAMPLING_ID
Parameter to specify the average percentage of distances randomly chosen
 to be provided in the result, must be a double greater than 0 and less
 than or equal to 1. 
 | 
static OptionID | 
SEED_ID
Random generator seed for distances. 
 | 
distanceFunction| Constructor and Description | 
|---|
Parameterizer()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected KNNDistancesSampler<O> | 
makeInstance()
Make an instance after successful configuration. 
 | 
protected void | 
makeOptions(Parameterization config)
Add all options. 
 | 
configure, makepublic static final OptionID K_ID
public static final OptionID SAMPLING_ID
public static final OptionID SEED_ID
protected int k
protected double percentage
private RandomFactory rnd
protected void makeOptions(Parameterization config)
AbstractParameterizermakeOptions in class AbstractDistanceBasedAlgorithm.Parameterizer<O>config - Parameterization to add options to.protected KNNDistancesSampler<O> makeInstance()
AbstractParameterizermakeInstance in class AbstractParameterizerCopyright © 2019 ELKI Development Team. License information.