|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.utilities.referencepoints.RandomSampleReferencePoints<V>
V
- Vector typepublic class RandomSampleReferencePoints<V extends NumberVector<? extends V,?>>
Random-Sampling strategy for picking reference points.
Nested Class Summary | |
---|---|
static class |
RandomSampleReferencePoints.Parameterizer<V extends NumberVector<? extends V,?>>
Parameterization class. |
Field Summary | |
---|---|
private static double |
log4
Constant used in choosing optimal table sizes |
static OptionID |
N_ID
Parameter to specify the sample size. |
private int |
samplesize
Holds the value of N_ID . |
Constructor Summary | |
---|---|
RandomSampleReferencePoints(int samplesize)
Constructor. |
Method Summary | ||
---|---|---|
|
getReferencePoints(Relation<T> db)
Get the reference points for the given database. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final OptionID N_ID
Key: -sample.n
private static final double log4
private int samplesize
N_ID
.
Constructor Detail |
---|
public RandomSampleReferencePoints(int samplesize)
samplesize
- Method Detail |
---|
public <T extends V> Collection<V> getReferencePoints(Relation<T> db)
ReferencePointsHeuristic
getReferencePoints
in interface ReferencePointsHeuristic<V extends NumberVector<? extends V,?>>
db
- Database
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |