protected static class KMeansElkan.Instance extends KMeansSimplifiedElkan.Instance
Modifier and Type | Field and Description |
---|---|
(package private) double[][] |
cdist
Cluster center distances
|
lower, newmeans, sep, sums, upper
assignment, clusters, isSquared, k, key, means, relation, varsum
Constructor and Description |
---|
Instance(Relation<? extends NumberVector> relation,
NumberVectorDistanceFunction<?> df,
double[][] means)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected int |
assignToNearestCluster()
Reassign objects, but avoid unnecessary computations based on their
bounds.
|
protected Logging |
getLogger()
Get the class logger.
|
initialAssignToNearestCluster, iterate, updateBounds
buildResult, buildResult, copyMeans, distance, isSquared, meansFromSums, movedDistance, recomputeSeperation, run
public Instance(Relation<? extends NumberVector> relation, NumberVectorDistanceFunction<?> df, double[][] means)
relation
- Relationmeans
- Initial meansprotected int assignToNearestCluster()
KMeansSimplifiedElkan.Instance
assignToNearestCluster
in class KMeansSimplifiedElkan.Instance
protected Logging getLogger()
AbstractKMeans.Instance
getLogger
in class KMeansSimplifiedElkan.Instance
Copyright © 2019 ELKI Development Team. License information.