public static class CLARANS.Parameterizer<V> extends AbstractDistanceBasedAlgorithm.Parameterizer<V>
Modifier and Type | Field and Description |
---|---|
(package private) int |
k
Number of cluster centers to find.
|
(package private) double |
maxneighbor
Maximum neighbors to explore.
|
static OptionID |
NEIGHBORS_ID
The number of neighbors to explore.
|
(package private) int |
numlocal
Number of restarts to do.
|
(package private) RandomFactory |
random
Random factory for initialization.
|
static OptionID |
RANDOM_ID
Random generator.
|
static OptionID |
RESTARTS_ID
The number of restarts to run.
|
distanceFunction
Constructor and Description |
---|
Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected double |
defaultRate()
Default sampling rate.
|
protected CLARANS<V> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public static final OptionID RESTARTS_ID
public static final OptionID NEIGHBORS_ID
public static final OptionID RANDOM_ID
double maxneighbor
int numlocal
int k
RandomFactory random
protected double defaultRate()
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractDistanceBasedAlgorithm.Parameterizer<V>
config
- Parameterization to add options to.protected CLARANS<V> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer
Copyright © 2019 ELKI Development Team. License information.