Module org.elasticsearch.server
Interface CentroidSupplier
public interface CentroidSupplier
An interface for that supply centroids.
-
Method Summary
Modifier and TypeMethodDescriptionfloat[]centroid(int centroidOrdinal) static CentroidSupplierempty(int dims) static CentroidSupplierfromArray(float[][] centroids, KMeansResult secondLevelClusters, int dims) default KMeansResultintsize()
-
Method Details
-
size
int size() -
centroid
- Throws:
IOException
-
secondLevelClusters
- Throws:
IOException
-
asKmeansFloatVectorValues
- Throws:
IOException
-
empty
-
fromArray
-