An open API service indexing awesome lists of open source software.

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

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