A factory for kernel functions
$ npm install ml-kernel
This function can be called with a matrix of input vectors and optional landmarks. If no landmark is provided, the input vectors will be used.
Available kernels
gaussianorrbf- Gaussian (radial basis function) kernelpolynomialorpoly- Polynomial kernelexponential- Exponential kernellaplacian- Laplacian kernelanova- ANOVA kernelrational- Rational Quadratic kernelmultiquadratic- Multiquadratic kernelcauchy- Cauchy kernelhistogramormin- Histogram Intersection kernel
This function can be called with a matrix of input vectors and optional landmarks.
If no landmark is provided, the input vectors will be used.
The function returns a kernel matrix of feature space vectors.