O
- Object typeD
- Distance typepublic static class ValidateApproximativeKNNIndex.Parameterizer<O,D extends Distance<D>> extends AbstractDistanceBasedAlgorithm.Parameterizer<O,D>
Modifier and Type | Field and Description |
---|---|
static OptionID |
FORCE_ID
Force linear scanning.
|
protected boolean |
forcelinear
Force linear scanning.
|
protected int |
k
K parameter
|
static OptionID |
K_ID
Parameter for the number of neighbors.
|
protected Pattern |
pattern
Filter pattern for query points.
|
static OptionID |
PATTERN_ID
Parameter to select query points.
|
protected DatabaseConnection |
queries
The alternate query point source.
|
static OptionID |
QUERY_ID
Parameter for the query dataset.
|
protected RandomFactory |
random
Random generator factory
|
static OptionID |
RANDOM_ID
Parameter for the random generator.
|
protected double |
sampling
Sampling size.
|
static OptionID |
SAMPLING_ID
Parameter for the sampling size.
|
distanceFunction
Constructor and Description |
---|
ValidateApproximativeKNNIndex.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected ValidateApproximativeKNNIndex<O,D> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public static final OptionID K_ID
public static final OptionID QUERY_ID
public static final OptionID SAMPLING_ID
public static final OptionID FORCE_ID
public static final OptionID RANDOM_ID
public static final OptionID PATTERN_ID
protected int k
protected DatabaseConnection queries
protected double sampling
protected boolean forcelinear
protected RandomFactory random
protected Pattern pattern
public ValidateApproximativeKNNIndex.Parameterizer()
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractDistanceBasedAlgorithm.Parameterizer<O,D extends Distance<D>>
config
- Parameterization to add options to.protected ValidateApproximativeKNNIndex<O,D> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer