Socket
Socket
Sign inDemoInstall

ml-kernel-polynomial

Package Overview
Dependencies
0
Maintainers
5
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ml-kernel-polynomial

The polynomial kernel


Version published
Weekly downloads
18K
decreased by-2.92%
Maintainers
5
Install size
4.57 kB
Created
Weekly downloads
 

Changelog

Source

2.0.1 (2019-06-29)

2.0.0 / 2015-11-18

  • refactor to a class

1.0.0 / 2015-11-18

  • first release

Readme

Source

ml-kernel-polynomial

NPM version build status npm 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

Keywords

FAQs

Last updated on 29 Jun 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc