|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.lmu.ifi.dbs.elki.logging.AbstractLoggable
de.lmu.ifi.dbs.elki.utilities.referencepoints.RandomSampleReferencePoints<O>
O
- Vector typepublic class RandomSampleReferencePoints<O extends NumberVector<O,?>>
Random-Sampling strategy for picking reference points.
Field Summary | |
---|---|
private static double |
log4
Constant used in choosing optimal table sizes |
static OptionID |
N_ID
OptionID for N_PARAM |
private IntParameter |
N_PARAM
Parameter to specify the sample size. |
private int |
samplesize
Holds the value of N_PARAM . |
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
---|
debug, logger |
Constructor Summary | |
---|---|
RandomSampleReferencePoints(Parameterization config)
Constructor, adhering to Parameterizable |
Method Summary | |
---|---|
Collection<O> |
getReferencePoints(Database<O> db)
Get the reference points for the given database. |
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
---|
debugFine, debugFiner, debugFinest, exception, progress, verbose, warning |
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
N_PARAM
private static final double log4
private final IntParameter N_PARAM
Key: -sample.n
private int samplesize
N_PARAM
.
Constructor Detail |
---|
public RandomSampleReferencePoints(Parameterization config)
Parameterizable
config
- ParameterizationMethod Detail |
---|
public Collection<O> getReferencePoints(Database<O> db)
ReferencePointsHeuristic
getReferencePoints
in interface ReferencePointsHeuristic<O extends NumberVector<O,?>>
db
- Database
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |