47 float r2_score_py(
const raft::handle_t& handle, 
float* y, 
float* y_hat, 
int n);
 
   65 double r2_score_py(
const raft::handle_t& handle, 
double* y, 
double* y_hat, 
int n);
 
   79 double rand_index(
const raft::handle_t& handle, 
double* y, 
double* y_hat, 
int n);
 
  167                            const int64_t* y_hat,
 
  189 double kl_divergence(
const raft::handle_t& handle, 
const double* y, 
const double* y_hat, 
int n);
 
  205 float kl_divergence(
const raft::handle_t& handle, 
const float* y, 
const float* y_hat, 
int n);
 
  222                const int lower_class_range,
 
  223                const int upper_class_range);
 
  243                          const int lower_class_range,
 
  244                          const int upper_class_range);
 
  264                          const int lower_class_range,
 
  265                          const int upper_class_range);
 
  285                           const int lower_class_range,
 
  286                           const int upper_class_range);
 
  307                  const int lower_class_range,
 
  308                  const int upper_class_range,
 
  324                         const int* predictions,
 
  325                         const int* ref_predictions,
 
  353                        bool isRowMajor   = 
true,
 
  354                        double metric_arg = 2.0);
 
  380                        bool isRowMajor  = 
true,
 
  381                        float metric_arg = 2.0f);
 
  428 template <
typename math_t, ML::distance::DistanceType distance_type>
 
  436                              int batchSize = 512);
 
float silhouette_score(const raft::handle_t &handle, float *X, int n_rows, int n_cols, int *y, int n_labels, float *scores, int chunk, ML::distance::DistanceType metric)
 
void pairwiseDistance_sparse(const raft::handle_t &handle, double *x, double *y, double *dist, int x_nrows, int y_nrows, int n_cols, int x_nnz, int y_nnz, int *x_indptr, int *y_indptr, int *x_indices, int *y_indices, ML::distance::DistanceType metric, float metric_arg)
 
double homogeneity_score(const raft::handle_t &handle, const int *y, const int *y_hat, const int n, const int lower_class_range, const int upper_class_range)
 
double mutual_info_score(const raft::handle_t &handle, const int *y, const int *y_hat, const int n, const int lower_class_range, const int upper_class_range)
 
double completeness_score(const raft::handle_t &handle, const int *y, const int *y_hat, const int n, const int lower_class_range, const int upper_class_range)
 
double rand_index(const raft::handle_t &handle, double *y, double *y_hat, int n)
 
double v_measure(const raft::handle_t &handle, const int *y, const int *y_hat, const int n, const int lower_class_range, const int upper_class_range, double beta)
 
float accuracy_score_py(const raft::handle_t &handle, const int *predictions, const int *ref_predictions, int n)
 
double silhouette_score(const raft::handle_t &handle, double *y, int nRows, int nCols, int *labels, int nLabels, double *silScores, ML::distance::DistanceType metric)
 
void pairwise_distance(const raft::handle_t &handle, const double *x, const double *y, double *dist, int m, int n, int k, ML::distance::DistanceType metric, bool isRowMajor=true, double metric_arg=2.0)
Calculates the ij pairwise distances between two input arrays of double type.
 
double entropy(const raft::handle_t &handle, const int *y, const int n, const int lower_class_range, const int upper_class_range)
 
double kl_divergence(const raft::handle_t &handle, const double *y, const double *y_hat, int n)
 
double adjusted_rand_index(const raft::handle_t &handle, const int64_t *y, const int64_t *y_hat, const int64_t n)
 
double trustworthiness_score(const raft::handle_t &h, const math_t *X, math_t *X_embedded, int n, int m, int d, int n_neighbors, int batchSize=512)
Compute the trustworthiness score.
 
float r2_score_py(const raft::handle_t &handle, float *y, float *y_hat, int n)
 
DistanceType
Definition: distance_type.hpp:21
 
Definition: dbscan.hpp:29
 
Definition: dbscan.hpp:25