21 #include <cublas_v2.h>
26 template <
typename math_t>
50 template <
typename math_t>
51 void svrFit(
const raft::handle_t& handle,
57 MLCommon::Matrix::KernelParams& kernel_params,
59 const math_t* sample_weight =
nullptr);
82 template <
typename math_t>
92 raft::distance::kernels::KernelParams& kernel_params,
94 const math_t* sample_weight =
nullptr);
void svrFit(const raft::handle_t &handle, math_t *X, int n_rows, int n_cols, math_t *y, const SvmParameter ¶m, MLCommon::Matrix::KernelParams &kernel_params, SvmModel< math_t > &model, const math_t *sample_weight=nullptr)
Fit a support vector regressor to the training data.
void svrFitSparse(const raft::handle_t &handle, int *indptr, int *indices, math_t *data, int n_rows, int n_cols, int nnz, math_t *y, const SvmParameter ¶m, raft::distance::kernels::KernelParams &kernel_params, SvmModel< math_t > &model, const math_t *sample_weight=nullptr)
Fit a support vector regressor to the training data.
Definition: dbscan.hpp:30
Definition: svm_model.h:35
Definition: svm_parameter.h:34