powered by
Gauss function
gauss(d1, d2, sigma = 0.5)
vector1
vector2
The hyperparameter of RBF kernel function, which indicates the width.
Calculate the Gauss function
# NOT RUN { ## data(iris,package = 'datasets') w<-gauss(iris[,1],iris[,2]) print(w) # }
Run the code above in your browser using DataLab