2.0.2 • Published 5 years ago

ml-kernel-gaussian v2.0.2

Weekly downloads
4,321
License
MIT
Repository
github
Last release
5 years ago

ml-kernel-gaussian

NPM version build status npm download

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.

License

MIT