# kernel-sigmoid **Repository Path**: mirrors_mljs/kernel-sigmoid ## Basic Information - **Project Name**: kernel-sigmoid - **Description**: Sigmoid (hyperbolic tangent) kernel - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-22 - **Last Updated**: 2026-03-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # kernel-sigmoid [![NPM version][npm-image]][npm-url] [![build status][travis-image]][travis-url] [![npm download][download-image]][download-url] 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](./LICENSE) [npm-image]: https://img.shields.io/npm/v/ml-kernel-sigmoid.svg?style=flat-square [npm-url]: https://npmjs.org/package/ml-kernel-sigmoid [travis-image]: https://img.shields.io/travis/mljs/kernel-sigmoid/master.svg?style=flat-square [travis-url]: https://travis-ci.org/mljs/kernel-sigmoid [download-image]: https://img.shields.io/npm/dm/ml-kernel-sigmoid.svg?style=flat-square [download-url]: https://npmjs.org/package/ml-kernel-sigmoid