|
void | ML::kmeans::fit_predict (const raft::handle_t &handle, const KMeansParams ¶ms, const float *X, int n_samples, int n_features, const float *sample_weight, float *centroids, int *labels, float &inertia, int &n_iter) |
| Compute k-means clustering and predicts cluster index for each sample in the input. More...
|
|
void | ML::kmeans::fit_predict (const raft::handle_t &handle, const KMeansParams ¶ms, const double *X, int n_samples, int n_features, const double *sample_weight, double *centroids, int *labels, double &inertia, int &n_iter) |
|
void | ML::kmeans::fit_predict (const raft::handle_t &handle, const KMeansParams ¶ms, const float *X, int64_t n_samples, int64_t n_features, const float *sample_weight, float *centroids, int64_t *labels, float &inertia, int64_t &n_iter) |
|
void | ML::kmeans::fit_predict (const raft::handle_t &handle, const KMeansParams ¶ms, const double *X, int64_t n_samples, int64_t n_features, const double *sample_weight, double *centroids, int64_t *labels, double &inertia, int64_t &n_iter) |
|
void | ML::kmeans::predict (const raft::handle_t &handle, const KMeansParams ¶ms, const float *centroids, const float *X, int n_samples, int n_features, const float *sample_weight, bool normalize_weights, int *labels, float &inertia) |
| Predict the closest cluster each sample in X belongs to. More...
|
|
void | ML::kmeans::predict (const raft::handle_t &handle, const KMeansParams ¶ms, const double *centroids, const double *X, int n_samples, int n_features, const double *sample_weight, bool normalize_weights, int *labels, double &inertia) |
|
void | ML::kmeans::predict (const raft::handle_t &handle, const KMeansParams ¶ms, const float *centroids, const float *X, int64_t n_samples, int64_t n_features, const float *sample_weight, bool normalize_weights, int64_t *labels, float &inertia) |
|
void | ML::kmeans::predict (const raft::handle_t &handle, const KMeansParams ¶ms, const double *centroids, const double *X, int64_t n_samples, int64_t n_features, const double *sample_weight, bool normalize_weights, int64_t *labels, double &inertia) |
|
void | ML::kmeans::transform (const raft::handle_t &handle, const KMeansParams ¶ms, const float *centroids, const float *X, int n_samples, int n_features, float *X_new) |
| Transform X to a cluster-distance space. More...
|
|
void | ML::kmeans::transform (const raft::handle_t &handle, const KMeansParams ¶ms, const double *centroids, const double *X, int n_samples, int n_features, double *X_new) |
|
void | ML::kmeans::transform (const raft::handle_t &handle, const KMeansParams ¶ms, const float *centroids, const float *X, int64_t n_samples, int64_t n_features, float *X_new) |
|
void | ML::kmeans::transform (const raft::handle_t &handle, const KMeansParams ¶ms, const double *centroids, const double *X, int64_t n_samples, int64_t n_features, double *X_new) |
|