gaussian_kernel: calculated the gaussian kernel matrix
Description
calculated the gaussian kernel matrix
Usage
gaussian_kernel(x, gamma, x_test = NULL)
Arguments
x
A d x n training data matrix
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