liquidSVM (version 1.2.2)

kern: Calculates the kernel matrix.

Description

Calculates the kernel matrix.

Usage

kern(data, gamma = 1, type = c("gaussian.rbf", "poisson"),
  threads = getOption("liquidSVM.default.threads", 1))

Arguments

data

the data set

gamma

the gamma-parameter

type

kernel type to use: one of "gaussian.rbf","poisson"

threads

how many threads to be used

Value

kernel matrix

Examples

Run this code
# NOT RUN {
kern(trees)
image(kern(trees, 2, "pois"))
# }

Run the code above in your browser using DataLab