19 #include <raft/core/handle.hpp>
21 #include <rmm/device_uvector.hpp>
50 template <
typename math_t>
78 this->dense_data.release();
79 this->indices.release();
80 this->indptr.release();
81 this->sparse_data.release();
86 template <
typename math_t>
89 template <
typename math_t>
Definition: params.hpp:34
random_matrix_type
Definition: rproj_c.h:48
double density
Definition: rproj_c.h:43
int n_features
Definition: rproj_c.h:39
int n_samples
Definition: rproj_c.h:38
double eps
Definition: rproj_c.h:41
void RPROJtransform(const raft::handle_t &handle, math_t *input, rand_mat< math_t > *random_matrix, math_t *output, paramsRPROJ *params)
cudaStream_t stream
Definition: rproj_c.h:72
void RPROJfit(const raft::handle_t &handle, rand_mat< math_t > *random_matrix, paramsRPROJ *params)
rmm::device_uvector< math_t > dense_data
Definition: rproj_c.h:65
bool gaussian_method
Definition: rproj_c.h:42
rand_mat(cudaStream_t stream)
Definition: rproj_c.h:52
rmm::device_uvector< math_t > sparse_data
Definition: rproj_c.h:70
bool dense_output
Definition: rproj_c.h:44
void reset()
Definition: rproj_c.h:76
rmm::device_uvector< int > indptr
Definition: rproj_c.h:69
~rand_mat()
Definition: rproj_c.h:62
int random_state
Definition: rproj_c.h:45
size_t johnson_lindenstrauss_min_dim(size_t n_samples, double eps)
int n_components
Definition: rproj_c.h:40
random_matrix_type type
Definition: rproj_c.h:74
rmm::device_uvector< int > indices
Definition: rproj_c.h:68
@ unset
Definition: rproj_c.h:48
@ sparse
Definition: rproj_c.h:48
@ dense
Definition: rproj_c.h:48
Definition: dbscan.hpp:30