PLSSVM - Parallel Least Squares Support Vector Machine
2.0.0
A Least Squares Support Vector Machine implementation using different backends.
|
Defines the kernel functions for the C-SVM using the CUDA backend. More...
#include "plssvm/constants.hpp"
Namespaces | |
plssvm | |
The main namespace containing all public API functions. | |
plssvm::cuda | |
Namespace containing the C-SVM using the CUDA backend. | |
Functions | |
template<typename real_type > | |
__global__ void | plssvm::cuda::device_kernel_linear (const real_type *q, real_type *ret, const real_type *d, const real_type *data_d, const real_type QA_cost, const real_type cost, const kernel_index_type num_rows, const kernel_index_type feature_range, const real_type add, const kernel_index_type id) |
Calculates the C-SVM kernel using the linear kernel function. More... | |
template<typename real_type > | |
__global__ void | plssvm::cuda::device_kernel_polynomial (const real_type *q, real_type *ret, const real_type *d, const real_type *data_d, const real_type QA_cost, const real_type cost, const kernel_index_type num_rows, const kernel_index_type num_cols, const real_type add, const int degree, const real_type gamma, const real_type coef0) |
Calculates the C-SVM kernel using the polynomial kernel function. More... | |
template<typename real_type > | |
__global__ void | plssvm::cuda::device_kernel_rbf (const real_type *q, real_type *ret, const real_type *d, const real_type *data_d, const real_type QA_cost, const real_type cost, const kernel_index_type num_rows, const kernel_index_type num_cols, const real_type add, const real_type gamma) |
Calculates the C-SVM kernel using the radial basis function kernel function. More... | |
Defines the kernel functions for the C-SVM using the CUDA backend.