66 bool row_major =
true,
67 const float* centers =
nullptr,
68 const float* cluster_std =
nullptr,
69 const float cluster_std_scalar = 1.f,
71 float center_box_min = -10.f,
72 float center_box_max = 10.f,
73 uint64_t seed = 0ULL);
80 bool row_major =
true,
81 const double* centers =
nullptr,
82 const double* cluster_std =
nullptr,
83 const double cluster_std_scalar = 1.0,
85 double center_box_min = -10.0,
86 double center_box_max = 10.0,
87 uint64_t seed = 0ULL);
94 bool row_major =
true,
95 const float* centers =
nullptr,
96 const float* cluster_std =
nullptr,
97 const float cluster_std_scalar = 1.f,
99 float center_box_min = -10.f,
100 float center_box_max = 10.0,
101 uint64_t seed = 0ULL);
108 bool row_major =
true,
109 const double* centers =
nullptr,
110 const double* cluster_std =
nullptr,
111 const double cluster_std_scalar = 1.0,
113 double center_box_min = -10.0,
114 double center_box_max = 10.0,
115 uint64_t seed = 0ULL);
void make_blobs(const raft::handle_t &handle, float *out, int64_t *labels, int64_t n_rows, int64_t n_cols, int64_t n_clusters, bool row_major=true, const float *centers=nullptr, const float *cluster_std=nullptr, const float cluster_std_scalar=1.f, bool shuffle=true, float center_box_min=-10.f, float center_box_max=10.f, uint64_t seed=0ULL)
void shuffle(std::vector< math_t > &rand_indices, std::mt19937 &g)
Definition: shuffle.h:35
Definition: dbscan.hpp:30
Definition: dbscan.hpp:26