faiss_kmeans_clustering

simplified interface

@param d dimension of the data @param n nb of training vectors @param k nb of output centroids @param x training set (size n * d) @param centroids output centroids (size k * d) @param q_error final quantization error @return error code

extern (C)
int
faiss_kmeans_clustering
(
size_t d
,
size_t n
,
size_t k
,
const(float)* x
,
float* centroids
,
float* q_error
)

Meta