
public class RandomSampleReferencePoints extends Object implements ReferencePointsHeuristic
| Modifier and Type | Class and Description |
|---|---|
static class |
RandomSampleReferencePoints.Parameterizer
Parameterization class.
|
| Modifier and Type | Field and Description |
|---|---|
protected RandomFactory |
rnd
Random generator.
|
protected int |
samplesize
Sample size.
|
| Constructor and Description |
|---|
RandomSampleReferencePoints(int samplesize,
RandomFactory rnd)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends NumberVector> |
getReferencePoints(Relation<? extends NumberVector> db)
Get the reference points for the given database.
|
protected int samplesize
protected RandomFactory rnd
public RandomSampleReferencePoints(int samplesize,
RandomFactory rnd)
samplesize - Sampling sizepublic Collection<? extends NumberVector> getReferencePoints(Relation<? extends NumberVector> db)
ReferencePointsHeuristicgetReferencePoints in interface ReferencePointsHeuristicdb - DatabaseCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.