Calculates the kernel matrix.
kern(data, gamma = 1, type = c("gaussian.rbf", "poisson"),
threads = getOption("liquidSVM.default.threads", 1))
the data set
the gamma-parameter
kernel type to use: one of "gaussian.rbf","poisson"
how many threads to be used
kernel matrix
# NOT RUN {
kern(trees)
image(kern(trees, 2, "pois"))
# }
Run the code above in your browser using DataLab