{"id":19267051,"url":"https://github.com/mljs/kernel-sigmoid","last_synced_at":"2025-10-08T18:07:26.181Z","repository":{"id":57298981,"uuid":"64824840","full_name":"mljs/kernel-sigmoid","owner":"mljs","description":"Sigmoid (hyperbolic tangent) kernel","archived":false,"fork":false,"pushed_at":"2019-06-29T11:52:35.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-05T12:40:50.693Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mljs.png","metadata":{"files":{"readme":"README.md","changelog":"History.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-03T07:23:31.000Z","updated_at":"2020-07-30T12:36:35.000Z","dependencies_parsed_at":"2022-08-26T18:12:41.851Z","dependency_job_id":null,"html_url":"https://github.com/mljs/kernel-sigmoid","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mljs%2Fkernel-sigmoid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mljs%2Fkernel-sigmoid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mljs%2Fkernel-sigmoid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mljs%2Fkernel-sigmoid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mljs","download_url":"https://codeload.github.com/mljs/kernel-sigmoid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240367674,"owners_count":19790294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T20:09:51.113Z","updated_at":"2025-10-08T18:07:21.117Z","avatar_url":"https://github.com/mljs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kernel-sigmoid\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![npm download][download-image]][download-url]\n\nSigmoid (hyperbolic tangent) kernel.  \nSee http://crsouza.com/2010/03/kernel-functions-for-machine-learning-applications/#sigmoid\n\n## Installation\n\n`npm i ml-kernel-sigmoid`\n\n## Usage\n\n### new SigmoidKernel(options)\n\n**Options**:\n\n- `alpha` - value for the alpha factor (default: 0.01).\n- `constant` - value for the constant (default: -Math.E).\n\n### kernel.compute(x, y)\n\nReturns the dot product between `x` and `y` in feature space.\n\n## License\n\n[MIT](./LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/ml-kernel-sigmoid.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/ml-kernel-sigmoid\n[travis-image]: https://img.shields.io/travis/mljs/kernel-sigmoid/master.svg?style=flat-square\n[travis-url]: https://travis-ci.org/mljs/kernel-sigmoid\n[download-image]: https://img.shields.io/npm/dm/ml-kernel-sigmoid.svg?style=flat-square\n[download-url]: https://npmjs.org/package/ml-kernel-sigmoid\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmljs%2Fkernel-sigmoid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmljs%2Fkernel-sigmoid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmljs%2Fkernel-sigmoid/lists"}