kernel_svm: Kernel SVM

Description Usage Arguments

View source: R/svm_funcs.r

Description

Fit a kernel support vector machine for binary classification.

Usage

1
kernel_svm(X, y, C, ckernel)

Arguments

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


ant-stephenson/lhc documentation built on Jan. 28, 2021, 3:47 p.m.