https://github.com/mljs/kernel-gaussian
The gaussian (radial basis function) kernel
https://github.com/mljs/kernel-gaussian
Last synced: 5 months ago
JSON representation
The gaussian (radial basis function) kernel
- Host: GitHub
- URL: https://github.com/mljs/kernel-gaussian
- Owner: mljs
- License: mit
- Created: 2015-11-18T09:45:11.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-06-29T11:59:30.000Z (over 6 years ago)
- Last Synced: 2025-02-06T13:58:03.118Z (10 months ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: History.md
- License: LICENSE
Awesome Lists containing this project
README
# ml-kernel-gaussian
[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![npm download][download-image]][download-url]
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](./LICENSE)
[npm-image]: https://img.shields.io/npm/v/ml-kernel-gaussian.svg?style=flat-square
[npm-url]: https://npmjs.org/package/ml-kernel-gaussian
[travis-image]: https://img.shields.io/travis/mljs/kernel-gaussian/master.svg?style=flat-square
[travis-url]: https://travis-ci.org/mljs/kernel-gaussian
[download-image]: https://img.shields.io/npm/dm/ml-kernel-gaussian.svg?style=flat-square
[download-url]: https://npmjs.org/package/ml-kernel-gaussian