O
- Object type@Reference(authors="Arthur Zimek, Matthew Gaudet, Ricardo J. G. B. Campello, J\u00f6rg Sander", title="Subsampling for Efficient and Effective Unsupervised Outlier Detection Ensembles", booktitle="Proc. 19th ACM SIGKDD Int. Conf. Knowledge Discovery and Data Mining, KDD \'13", url="https://doi.org/10.1145/2487575.2487676", bibkey="DBLP:conf/kdd/ZimekGCS13") public class RandomSampleKNNPreprocessor<O> extends AbstractMaterializeKNNPreprocessor<O>
Used in:
Arthur Zimek, Matthew Gaudet, Ricardo J. G. B. Campello, Jörg Sander
Subsampling for Efficient and Effective Unsupervised Outlier Detection
Ensembles
Proc. 19th ACM SIGKDD Int. Conf. Knowledge Discovery and Data Mining KDD'13
Modifier and Type | Class and Description |
---|---|
static class |
RandomSampleKNNPreprocessor.Factory<O>
The parameterizable factory.
|
Modifier and Type | Field and Description |
---|---|
private static Logging |
LOG
Logger
|
private RandomFactory |
rnd
Random generator
|
private double |
share
Relative share of objects to get
|
distanceFunction, distanceQuery, k
relation, storage
Constructor and Description |
---|
RandomSampleKNNPreprocessor(Relation<O> relation,
DistanceFunction<? super O> distanceFunction,
int k,
double share,
RandomFactory rnd)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Logging |
getLogger()
Get the classes static logger.
|
java.lang.String |
getLongName()
A "pretty" name for the result, for use in titles, captions and menus.
|
java.lang.String |
getShortName()
A short name for the result, useful for file names.
|
void |
logStatistics()
Send statistics to the logger, if enabled.
|
protected void |
preprocess()
Perform the preprocessing step.
|
createStorage, get, getDistanceQuery, getK, getKNNQuery, initialize
private static final Logging LOG
private final double share
private final RandomFactory rnd
public RandomSampleKNNPreprocessor(Relation<O> relation, DistanceFunction<? super O> distanceFunction, int k, double share, RandomFactory rnd)
relation
- Relation to indexdistanceFunction
- distance functionk
- kshare
- Relative sharernd
- Random generatorprotected void preprocess()
AbstractMaterializeKNNPreprocessor
preprocess
in class AbstractMaterializeKNNPreprocessor<O>
protected Logging getLogger()
AbstractPreprocessorIndex
getLogger
in class AbstractPreprocessorIndex<O,KNNList>
public java.lang.String getLongName()
Result
public java.lang.String getShortName()
Result
public void logStatistics()
Index
Copyright © 2019 ELKI Development Team. License information.