Visible to Intel only — GUID: GUID-08F658AA-2D4A-4DB4-97D2-221946062710
Visible to Intel only — GUID: GUID-08F658AA-2D4A-4DB4-97D2-221946062710
Kernel Functions
A kernel function takes input vectors from the original (p-dimensional) space and returns the dot product of the vectors in the s-dimensional feature space. Thus, having and , the kernel function is
Where is a vector-valued function: .
If , the kernel is linear. Kernels are used in the SVM model, but for some tasks they could be used separately to transform vectors from one space to another.
The following table describes current device support:
Kernel type |
CPU |
GPU |
---|---|---|
Linear |
Yes |
Yes |
Polynomial |
Yes |
No |
RBF |
Yes |
Yes |
Sigmoid |
Yes |
No |
Examples: Linear Kernel
oneAPI DPC++
Batch Processing:
oneAPI C++
Batch Processing:
Examples: Polynomial Kernel
oneAPI C++
Batch Processing:
Examples: RBF Kernel
oneAPI DPC++
Batch Processing:
oneAPI C++
Batch Processing:
Examples: Sigmoid Kernel
oneAPI C++
Batch Processing: