Fit a kernel support vector machine for binary classification.
1 | kernel_svm(X, y, C, ckernel)
|
X |
An nxd matrix with samples as rows and features as columns. |
y |
A length-n vector of -1s and 1s indicating true sample classes. |
C |
Regularisation parameter. |
ckernel |
Kernel function with hyperparamters set |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.