9 #include <raft/core/handle.hpp>
30 void olsFit(
const raft::handle_t& handle,
40 float* sample_weight =
nullptr);
41 void olsFit(
const raft::handle_t& handle,
51 double* sample_weight =
nullptr);
83 float* sample_weight =
nullptr);
96 double* sample_weight =
nullptr);
145 template <
typename T,
typename I =
int>
146 void qnFit(
const raft::handle_t& cuml_handle,
157 T* sample_weight =
nullptr,
182 template <
typename T,
typename I =
int>
196 T* sample_weight =
nullptr,
214 template <
typename T,
typename I =
int>
243 template <
typename T,
typename I =
int>
271 template <
typename T,
typename I =
int>
300 template <
typename T,
typename I =
int>
Definition: params.hpp:23
void gemmPredict(const raft::handle_t &handle, const float *input, size_t n_rows, size_t n_cols, const float *coef, float intercept, float *preds)
void olsFit(const raft::handle_t &handle, float *input, size_t n_rows, size_t n_cols, float *labels, float *coef, float *intercept, bool fit_intercept, bool normalize, int algo=0, float *sample_weight=nullptr)
void ridgeFit(const raft::handle_t &handle, float *input, size_t n_rows, size_t n_cols, float *labels, float *alpha, int n_alpha, float *coef, float *intercept, bool fit_intercept, bool normalize, int algo=0, float *sample_weight=nullptr)
void qnDecisionFunctionSparse(const raft::handle_t &cuml_handle, const qn_params ¶ms, T *X_values, I *X_cols, I *X_row_ids, I X_nnz, I N, I D, I C, T *coefs, T *scores)
Obtain the confidence scores of samples.
void qnDecisionFunction(const raft::handle_t &cuml_handle, const qn_params ¶ms, T *X, bool X_col_major, I N, I D, I C, T *coefs, T *scores)
Obtain the confidence scores of samples.
void qnFit(const raft::handle_t &cuml_handle, const qn_params ¶ms, T *X, bool X_col_major, T *y, I N, I D, I C, T *w0, T *f, int *num_iters, T *sample_weight=nullptr, T svr_eps=0)
Fit a GLM using quasi newton methods.
void qnFitSparse(const raft::handle_t &cuml_handle, const qn_params ¶ms, T *X_values, I *X_cols, I *X_row_ids, I X_nnz, T *y, I N, I D, I C, T *w0, T *f, int *num_iters, T *sample_weight=nullptr, T svr_eps=0)
Fit a GLM using quasi newton methods.
void qnPredict(const raft::handle_t &cuml_handle, const qn_params ¶ms, T *X, bool X_col_major, I N, I D, I C, T *coefs, T *preds)
Predict a GLM using quasi newton methods.
void qnPredictSparse(const raft::handle_t &cuml_handle, const qn_params ¶ms, T *X_values, I *X_cols, I *X_row_ids, I X_nnz, I N, I D, I C, T *coefs, T *preds)
Predict a GLM using quasi newton methods.
void normalize(value_t *data, value_idx n, size_t m, cudaStream_t stream)
Definition: utils.h:177
Definition: dbscan.hpp:18