gaussian_kernel: calculated the gaussian kernel matrix

Description Usage Arguments Value

View source: R/WellSVM.R

Description

calculated the gaussian kernel matrix

Usage

1
gaussian_kernel(x, gamma, x_test = NULL)

Arguments

x

A d x n training data matrix

gamma

kernel parameter

x_test

A d x m testing data matrix

Value

k - A n x m kernel matrix and dis_mat - A n x m distance matrix


RSSL documentation built on Jan. 13, 2021, 6:30 p.m.