V
- Vector typeD
- Distance typeM
- Model typepublic static class KMeansBisecting.Parameterizer<V extends NumberVector<?>,D extends Distance<?>,M extends MeanModel<V>> extends AbstractParameterizer
Modifier and Type | Field and Description |
---|---|
protected int |
k
Desired number of clusters.
|
static OptionID |
KMEANS_ID
Parameter to specify the kMeans variant.
|
protected KMeans<V,D,M> |
kMeansVariant
Variant of kMeans
|
Constructor and Description |
---|
KMeansBisecting.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected KMeansBisecting<V,D,M> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public static final OptionID KMEANS_ID
protected KMeans<V extends NumberVector<?>,D extends Distance<?>,M extends MeanModel<V>> kMeansVariant
protected int k
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractParameterizer
config
- Parameterization to add options to.protected KMeansBisecting<V,D,M> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer