V
- Vector typepublic static class SampleKMeansInitialization.Parameterizer<V extends NumberVector> extends AbstractKMeansInitialization.Parameterizer
Modifier and Type | Field and Description |
---|---|
protected KMeans<V,?> |
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 |
---|
Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected SampleKMeansInitialization<V> |
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,?> innerkMeans
protected double rate
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractKMeansInitialization.Parameterizer
config
- Parameterization to add options to.protected SampleKMeansInitialization<V> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer
Copyright © 2019 ELKI Development Team. License information.