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, upper
assignment, 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, updateBounds
buildResult, buildResult, copyMeans, distance, isSquared, meansFromSums, movedDistance, recomputeSeperation, run
WritableIntegerDataStore second
double[][] cdist
int[][] cnum
public Instance(Relation<? extends NumberVector> relation, NumberVectorDistanceFunction<?> df, double[][] means)
protected int assignToNearestCluster()
assignToNearestCluster
in class KMeansHamerly.Instance
protected Logging getLogger()
AbstractKMeans.Instance
getLogger
in class KMeansHamerly.Instance
Copyright © 2019 ELKI Development Team. License information.