faiss.clustering

Undocumented in source.

Members

Aliases

FaissClustering
alias FaissClustering = FaissClustering_H
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
FaissClusteringIterationStats
alias FaissClusteringIterationStats = FaissClusteringIterationStats_H
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Functions

faiss_ClusteringIterationStats_imbalance_factor
double faiss_ClusteringIterationStats_imbalance_factor(const(FaissClusteringIterationStats)* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_ClusteringIterationStats_nsplit
int faiss_ClusteringIterationStats_nsplit(const(FaissClusteringIterationStats)* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_ClusteringIterationStats_obj
float faiss_ClusteringIterationStats_obj(const(FaissClusteringIterationStats)* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_ClusteringIterationStats_time
double faiss_ClusteringIterationStats_time(const(FaissClusteringIterationStats)* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_ClusteringIterationStats_time_search
double faiss_ClusteringIterationStats_time_search(const(FaissClusteringIterationStats)* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_ClusteringParameters_init
void faiss_ClusteringParameters_init(FaissClusteringParameters* params)

Sets the ClusteringParameters object with reasonable defaults

faiss_Clustering_centroids
void faiss_Clustering_centroids(FaissClustering* clustering, float** centroids, size_t* size)

getter for centroids (size = k * d)

faiss_Clustering_d
size_t faiss_Clustering_d(const(FaissClustering)* )

getter for d

faiss_Clustering_decode_block_size
size_t faiss_Clustering_decode_block_size(const(FaissClustering)* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_Clustering_free
void faiss_Clustering_free(FaissClustering* clustering)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_Clustering_frozen_centroids
int faiss_Clustering_frozen_centroids(const(FaissClustering)* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_Clustering_int_centroids
int faiss_Clustering_int_centroids(const(FaissClustering)* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_Clustering_iteration_stats
void faiss_Clustering_iteration_stats(FaissClustering* clustering, FaissClusteringIterationStats** iteration_stats, size_t* size)

getter for iteration stats

faiss_Clustering_k
size_t faiss_Clustering_k(const(FaissClustering)* )

getter for k

faiss_Clustering_max_points_per_centroid
int faiss_Clustering_max_points_per_centroid(const(FaissClustering)* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_Clustering_min_points_per_centroid
int faiss_Clustering_min_points_per_centroid(const(FaissClustering)* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_Clustering_new
int faiss_Clustering_new(FaissClustering** p_clustering, int d, int k)

the only mandatory parameters are k and d

faiss_Clustering_new_with_params
int faiss_Clustering_new_with_params(FaissClustering** p_clustering, int d, int k, const(FaissClusteringParameters)* cp)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_Clustering_niter
int faiss_Clustering_niter(const(FaissClustering)* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_Clustering_nredo
int faiss_Clustering_nredo(const(FaissClustering)* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_Clustering_seed
int faiss_Clustering_seed(const(FaissClustering)* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_Clustering_spherical
int faiss_Clustering_spherical(const(FaissClustering)* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_Clustering_train
int faiss_Clustering_train(FaissClustering* clustering, idx_t n, const(float)* x, FaissIndex* index)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_Clustering_update_index
int faiss_Clustering_update_index(const(FaissClustering)* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_Clustering_verbose
int faiss_Clustering_verbose(const(FaissClustering)* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_kmeans_clustering
int faiss_kmeans_clustering(size_t d, size_t n, size_t k, const(float)* x, float* centroids, float* q_error)

simplified interface

Structs

FaissClusteringIterationStats_H
struct FaissClusteringIterationStats_H
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
FaissClusteringParameters
struct FaissClusteringParameters

Class for the clustering parameters. Can be passed to the constructor of the Clustering object.

FaissClustering_H
struct FaissClustering_H

clustering based on assignment - centroid update iterations

Meta