Skip to content

Repository files navigation

ml-kernel-polynomial

NPM versionbuild statusnpm download

The polynomial kernel.

Installation

$ npm i ml-kernel-polynomial.

Usage

new PolynomialKernel(options)

Options:

  • degree - degree of the polynomial (default: 1).
  • constant - polynomial constant (default: 1).
  • scale - polynomial scale (default: 1).

kernel.compute(x, y)

Returns the dot product between x and y in feature space.

License

MIT

About

The polynomial kernel

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages