Socket
Socket
Sign inDemoInstall

ml-kernel-sigmoid

Package Overview
Dependencies
0
Maintainers
7
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ml-kernel-sigmoid

Sigmoid (hyperbolic tangent) kernel


Version published
Weekly downloads
15K
decreased by-20.3%
Maintainers
7
Install size
4.58 kB
Created
Weekly downloads
 

Changelog

Source

1.0.1 (2019-06-29)

<a name="1.0.0"></a>

Features

  • first release (1dbf7d6)

Readme

Source

kernel-sigmoid

NPM version build status npm download

Sigmoid (hyperbolic tangent) kernel.
See http://crsouza.com/2010/03/kernel-functions-for-machine-learning-applications/#sigmoid

Installation

npm i ml-kernel-sigmoid

Usage

new SigmoidKernel(options)

Options:

  • alpha - value for the alpha factor (default: 0.01)
  • constant - value for the constant (default: -Math.E)

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