protected static class KMeansExponion.Instance extends KMeansHamerly.Instance
| Modifier and Type | Field and Description |
|---|---|
(package private) double[][] |
cdist
Cluster center distances.
|
(package private) int[][] |
cnum
Sorted neighbors
|
(package private) WritableIntegerDataStore |
second
Second nearest cluster.
|
lower, newmeans, sep, sums, upperassignment, clusters, isSquared, k, key, means, relation, varsum| Constructor and Description |
|---|
Instance(Relation<? extends NumberVector> relation,
NumberVectorDistanceFunction<?> df,
double[][] means) |
| 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, recomputeSeperation, updateBoundsbuildResult, buildResult, copyMeans, distance, isSquared, meansFromSums, movedDistance, recomputeSeperation, runWritableIntegerDataStore second
double[][] cdist
int[][] cnum
public Instance(Relation<? extends NumberVector> relation, NumberVectorDistanceFunction<?> df, double[][] means)
protected int assignToNearestCluster()
assignToNearestCluster in class KMeansHamerly.Instanceprotected Logging getLogger()
AbstractKMeans.InstancegetLogger in class KMeansHamerly.InstanceCopyright © 2019 ELKI Development Team. License information.