O
- Object typepublic static class DistanceQuantileSampler.Parameterizer<O> extends AbstractDistanceBasedAlgorithm.Parameterizer<O>
Modifier and Type | Field and Description |
---|---|
private boolean |
nozeros
Flag to ignore zero distances (recommended with many duplicates).
|
static OptionID |
NOZEROS_ID
Flag to ignore zero distances (recommended with many duplicates).
|
private double |
quantile
Quantile to compute.
|
static OptionID |
QUANTILE_ID
Quantile to compute.
|
private RandomFactory |
rand
Random generator.
|
private double |
sampling
Sampling rate.
|
static OptionID |
SAMPLING_ID
Sampling rate.
|
static OptionID |
SEED_ID
Random generator seed.
|
distanceFunction
Constructor and Description |
---|
DistanceQuantileSampler.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected DistanceQuantileSampler<O> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public static final OptionID QUANTILE_ID
public static final OptionID SAMPLING_ID
public static final OptionID NOZEROS_ID
public static final OptionID SEED_ID
private double quantile
private double sampling
private boolean nozeros
private RandomFactory rand
public DistanceQuantileSampler.Parameterizer()
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractDistanceBasedAlgorithm.Parameterizer<O>
config
- Parameterization to add options to.protected DistanceQuantileSampler<O> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.