Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ml-kernel-gaussian

mljs150.8kMIT2.0.2

The gaussian (radial basis function) kernel

gaussian, kernel, rbf, radial, basis, function, data, mining, datamining, machine, learning

readme

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

changelog

2.0.2 (2019-06-29)

2.0.1 (2016-08-03)

Bug Fixes

  • use correct euclidean distance package (4b0e989)

2.0.0 / 2015-11-18

  • refactor to a class

1.0.0 / 2015-11-18

  • first release