This package has been deprecated

Author message:

WARNING: This project has been renamed to ml-kernel-polynomial.

ml-polynomial-kernel

2.0.0 • Public • Published

ml-polynomial-kernel

NPM version build status David deps npm download

The polynomial kernel

Installation

$ npm install ml-polynomial-kernel

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

Package Sidebar

Install

npm i ml-polynomial-kernel

Weekly Downloads

0

Version

2.0.0

License

MIT

Last publish

Collaborators

  • mljs-bot
  • stropitek
  • targos
  • lpatiny
  • maasencioh
  • jeffersonh44
  • andcastillo
  • ml-bot