Visible to Intel only — GUID: GUID-3F3A18CB-8F25-4AEA-A24A-53A98047D6D7
Visible to Intel only — GUID: GUID-3F3A18CB-8F25-4AEA-A24A-53A98047D6D7
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: