mirror of
https://github.com/philips/supernote-obsidian-plugin.git
synced 2026-07-22 09:50:25 +00:00
Since there is no native code I am just checking all of the dependencies in to simplify life and avoid a hard dependency on npm working on any given day. |
||
|---|---|---|
| .. | ||
| History.md | ||
| LICENSE | ||
| package.json | ||
| polynomial-kernel.js | ||
| README.md | ||
ml-kernel-polynomial
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.