kernelMatrix | R Documentation |
computes the kernel matrix for elements taken in an argument.
kernelMatrix(
Xtrain,
kernel_type = "lin_kernel",
kernel_pars,
Xt = NULL,
bin_cat = integer(0)
)
Xtrain |
[ |
kernel_type |
[ |
kernel_pars |
[ |
Xt |
[ |
bin_cat |
indexes of binary/categorical variables. |
Kernel
[Kernel(1)
]
Object of class Kernel, with elements:
Type | type of kernel, |
Mat | matrix used to compute differences between comparable data points. |
Cesaire J. K. Fouodo
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.