kernelMatrix: Kernel

Description Usage Arguments Details Value Author(s)

Description

computes the kernel matrix for elements taken in an argument.

Usage

1
2
kernelMatrix(Xtrain, kernel_type = "lin_kernel", kernel_pars, Xt = NULL,
  bin_cat = integer(0))

Arguments

Xtrain

[matrix(1)]
Matrix of training data points.

kernel_type

[character(1)]
Type of kernel that is required.

kernel_pars

[vector(1)]
Parameters of kernels.

Xt

[matrix(1)]
Matrix of data points to be mapped.

bin_cat

indexes of binary/categorical variables.

Details

Kernel

Value

[Kernel(1)] Object of class Kernel, with elements:

Type type of kernel,
Mat matrix used to compute differences between comparable data points.

Author(s)

Cesaire J. K. Fouodo


survivalsvm documentation built on May 2, 2019, 9:29 a.m.