ml-kernel-gaussian
The gaussian (radial basis function) kernel.
Installation
$ npm i ml-kernel-gaussian
Usage
new GaussianKernel(options)
Options:
sigma
- value for the sigma parameter (default: 1).
kernel.compute(x, y)
Returns the dot product between x
and y
in feature space.