V
- Vector typeD
- Distance typepublic static class SampleKMeansInitialization.Parameterizer<V extends NumberVector<?>,D extends Distance<?>> extends AbstractKMeansInitialization.Parameterizer<V>
Modifier and Type | Field and Description |
---|---|
protected KMeans<V,D,?> |
innerkMeans
Inner k-means algorithm to use.
|
static OptionID |
KMEANS_ID
Parameter to specify the kMeans variant.
|
protected double |
rate
Sampling rate.
|
static OptionID |
SAMPLE_ID
Parameter to specify the sampling rate.
|
rnd
Constructor and Description |
---|
SampleKMeansInitialization.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected SampleKMeansInitialization<V,D> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public static final OptionID KMEANS_ID
public static final OptionID SAMPLE_ID
protected KMeans<V extends NumberVector<?>,D extends Distance<?>,?> innerkMeans
protected double rate
public SampleKMeansInitialization.Parameterizer()
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractKMeansInitialization.Parameterizer<V extends NumberVector<?>>
config
- Parameterization to add options to.protected SampleKMeansInitialization<V,D> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer