O - Object typepublic static class AveragePrecisionAtK.Parameterizer<O> extends AbstractDistanceBasedAlgorithm.Parameterizer<O>
| Modifier and Type | Field and Description | 
|---|---|
protected boolean | 
includeSelf
Include query object in evaluation. 
 | 
static OptionID | 
INCLUDESELF_ID
Parameter to include the query object. 
 | 
protected int | 
k
Neighborhood size. 
 | 
private static OptionID | 
K_ID
Parameter k to compute the average precision at. 
 | 
protected double | 
sampling
Relative amount of data to sample. 
 | 
static OptionID | 
SAMPLING_ID
Parameter to enable sampling. 
 | 
protected RandomFactory | 
seed
Random sampling seed. 
 | 
static OptionID | 
SEED_ID
Parameter to control the sampling random seed. 
 | 
distanceFunction| Constructor and Description | 
|---|
Parameterizer()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected AveragePrecisionAtK<O> | 
makeInstance()
Make an instance after successful configuration. 
 | 
protected void | 
makeOptions(Parameterization config)
Add all options. 
 | 
configure, makeprivate static final OptionID K_ID
public static final OptionID SAMPLING_ID
public static final OptionID SEED_ID
public static final OptionID INCLUDESELF_ID
protected int k
protected double sampling
protected RandomFactory seed
protected boolean includeSelf
protected void makeOptions(Parameterization config)
AbstractParameterizermakeOptions in class AbstractDistanceBasedAlgorithm.Parameterizer<O>config - Parameterization to add options to.protected AveragePrecisionAtK<O> makeInstance()
AbstractParameterizermakeInstance in class AbstractParameterizerCopyright © 2019 ELKI Development Team. License information.