PLSSVM - Parallel Least Squares Support Vector Machine
2.0.0
A Least Squares Support Vector Machine implementation using different backends.
|
Functor to calculate the q
vector using the radial basis functions C-SVM kernel.
More...
#include <q_kernel.hpp>
Public Types | |
using | real_type = T |
The type of the data. | |
Public Member Functions | |
device_kernel_q_rbf (real_type *q, const real_type *data_d, const real_type *data_last, const kernel_index_type num_rows, const kernel_index_type num_cols, const real_type gamma) | |
Construct a new device kernel calculating the q vector using the radial basis functions C-SVM kernel. More... | |
void | operator() (::sycl::id< 1 > index) const |
Function call operator overload performing the actual calculation. More... | |
Functor to calculate the q
vector using the radial basis functions C-SVM kernel.
Currently only single GPU execution is supported.
T | the type of the data |
|
inline |
Construct a new device kernel calculating the q
vector using the radial basis functions C-SVM kernel.
[out] | q | the calculated q vector |
[in] | data_d | the one-dimensional data matrix |
[in] | data_last | the last row in the data matrix |
[in] | num_rows | the number of rows in the data matrix |
[in] | num_cols | the number of columns in the data matrix |
[in] | gamma | the gamma parameter used in the rbf kernel function |
|
inline |
Function call operator overload performing the actual calculation.
[in] | index | the sycl::id identifying an instance of the functor executing at each point in a sycl::range |