
public class KMeansModel extends MeanModel
MeanModel that indicates the clustering to be
produced by k-means (so the Voronoi cell visualization is sensible).| Modifier and Type | Field and Description |
|---|---|
(package private) double |
varsum
Variance sum.
|
prototype| Constructor and Description |
|---|
KMeansModel(Vector mean,
double varsum)
Constructor with mean.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getVarianceContribution()
Get the variance contribution of the cluster (sum of variances)
|
getMean, getPrototypeTypegetPrototype, writeToTextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwriteToTextpublic KMeansModel(Vector mean, double varsum)
mean - Mean vector.varsum - Variance sum.Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.