12 #ifndef PLSSVM_BACKENDS_OPENMP_Q_KERNEL_HPP_
13 #define PLSSVM_BACKENDS_OPENMP_Q_KERNEL_HPP_
26 template <
typename real_type>
38 template <
typename real_type>
39 void device_kernel_q_polynomial(std::vector<real_type> &q,
const std::vector<std::vector<real_type>> &data,
int degree, real_type gamma, real_type coef0);
48 template <
typename real_type>
49 void device_kernel_q_rbf(std::vector<real_type> &q,
const std::vector<std::vector<real_type>> &data, real_type gamma);
Namespace containing the C-SVM using the OpenMP backend.
Definition: csvm.hpp:27
void device_kernel_q_polynomial(std::vector< real_type > &q, const std::vector< std::vector< real_type >> &data, int degree, real_type gamma, real_type coef0)
Calculates the q vector using the polynomial C-SVM kernel.
void device_kernel_q_linear(std::vector< real_type > &q, const std::vector< std::vector< real_type >> &data)
Calculates the q vector using the linear C-SVM kernel.
void device_kernel_q_rbf(std::vector< real_type > &q, const std::vector< std::vector< real_type >> &data, real_type gamma)
Calculates the q vector using the radial basis functions C-SVM kernel.