{"_id":"ml-kernel-sigmoid","_rev":"21-4eb49fd408daa32cb564b97d770100ae","name":"ml-kernel-sigmoid","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"ml-kernel-sigmoid","version":"1.0.0","keywords":["machine","learning","data","mining","datamining"],"author":{"name":"Michaël Zasso","email":"targos@protonmail.com"},"license":"MIT","_id":"ml-kernel-sigmoid@1.0.0","maintainers":[{"name":"targos","email":"targos@live.com"}],"homepage":"https://github.com/mljs/kernel-sigmoid#readme","bugs":{"url":"https://github.com/mljs/kernel-sigmoid/issues"},"dist":{"shasum":"884b28be13f61a60a5173f04240e8096eb1d9cd2","tarball":"https://registry.npmjs.org/ml-kernel-sigmoid/-/ml-kernel-sigmoid-1.0.0.tgz","integrity":"sha512-m9EM4o3nx/IV/xp5UQeY5H1iOX6YYCQfFEOPl3wfkDJW8mmBngPMg3v4DuZC1Mi5F+IBRk1A51Ou9nUnJDZRHA==","signatures":[{"sig":"MEUCIF6AAQW4sPdShsE9Ia0EBOPFiRTiFV6BCWN0yYvJ7UY0AiEAxc95H6XJhdkG+PqcTYAfIGL0Dzgch+srBBGmCyuxAIs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./sigmoid-kernel.js","_from":".","files":["src"],"_shasum":"884b28be13f61a60a5173f04240e8096eb1d9cd2","gitHead":"41b35febf7546d11ee931459df855fb6a320a4fd","scripts":{"test":"npm run test-mocha && npm run eslint","eslint":"eslint sigmoid-kernel.js test","eslint-fix":"npm run eslint -- --fix","test-mocha":"mocha --require should --reporter mocha-better-spec-reporter"},"_npmUser":{"name":"targos","email":"targos@live.com"},"repository":{"url":"git+https://github.com/mljs/kernel-sigmoid.git","type":"git"},"_npmVersion":"3.10.5","description":"Sigmoid (hyperbolic tangent) kernel","directories":{},"_nodeVersion":"6.3.1","devDependencies":{"mocha":"^3.0.0","eslint":"^3.1.1","should":"^10.0.0","eslint-config-cheminfo":"^1.1.2","mocha-better-spec-reporter":"^3.0.2","eslint-plugin-no-only-tests":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/ml-kernel-sigmoid-1.0.0.tgz_1470210069751_0.9287393335253","host":"packages-16-east.internal.npmjs.com"}},"1.0.1":{"name":"ml-kernel-sigmoid","version":"1.0.1","keywords":["machine","learning","data","mining","datamining","kernel","sigmoid"],"author":{"name":"Michaël Zasso","email":"targos@protonmail.com"},"license":"MIT","_id":"ml-kernel-sigmoid@1.0.1","maintainers":[{"name":"andcastillo","email":"andcastillo@gmail.com"},{"name":"jeffersonh44","email":"swrt_9950@hotmail.com"},{"name":"lpatiny","email":"lpatiny@gmail.com"},{"name":"maasencioh","email":"maasencioh@gmail.com"},{"name":"ml-bot","email":"admin@cheminfo.org"},{"name":"stropitek","email":"kostro.d@gmail.com"},{"name":"targos","email":"targos@live.com"}],"homepage":"https://github.com/mljs/kernel-sigmoid#readme","bugs":{"url":"https://github.com/mljs/kernel-sigmoid/issues"},"dist":{"shasum":"3eb4419a97d68d299dd6faffa8dca0fb91dd3300","tarball":"https://registry.npmjs.org/ml-kernel-sigmoid/-/ml-kernel-sigmoid-1.0.1.tgz","fileCount":5,"integrity":"sha512-mSbYOSbNQ7GsUAGrHuUHNsLgM3bZGpXkotw/FBdKZD9YMXfVOgQb1LvvvVeSlOR/ZdmX23qqaV0RnKSYWBF8og==","signatures":[{"sig":"MEUCIQCbF/YvEyLI+lJVkUMOWL4cjRfRISxi6uaHuNExHecuDAIgM+bJ7brfsiVi98/x1ZRQEG6Kx7kWcAfSUuHE2qeZ1BY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3821,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdF1AICRA9TVsSAnZWagAAU48P/jZ9lIu9SleD4aUv1UMV\nXxq1FyCSmW4FL9kRRm1EScODkFnBqk5Lv4tyNSTzwHHoa3oOPC6QvnJ8KEyx\nFyq2mJcAQpgXZhuax2RcWLSNiQf1/vpwejIHVP6N6HGR8LG1jogiLpFb77Gb\n8zIMzhU24rs+Bd+Bh1wyvcszdUsdO4fJVa1gpPxjMSsYjSTqtd/MQg41hezR\nu8jzAT1px/v0+KXMJPzPns2RFrSxxBil82IL87nlRfv0aowii5KzDWFFHn6U\n6xby/XEWREQdLW/PyoBnCoM+FnFs/lKxLoUqMEYVDaBdc1wm2bCqTtSrZenq\nly9zF2hlFztO2VkJ52/DXhmJ8FmunipmNWDh/J1b5tRzytrJt+jWpr4uMjV6\nYGqH/qNg0aZyye/kMKgM++/v0Yny0553gF+xybm5fqW97rCbbT+JgQiKlxRo\nxV2WzY3rwiWY3Lknuju+gwxrj1R6oJVBtUJwg7hGLyLKDvUWFLJiiKCdCttA\nuZYcmuvub6bS0TU9joRShl3iXQOhNCyQhkEuP3+Wy6v9oefhTv3yXAHaTYmb\nyG7YhlDm+58+4Rt777cSUQ6YopypXQxPy+QrEN0Ml4xGB+A015pRO803h5me\n7YciBGwGAP1sOrDhiKl3BOAQQHZKaCBD/vcErEbwc6KrclJD8pGXbkW9cg20\n2XdD\r\n=3o4w\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./sigmoid-kernel.js","gitHead":"a53de34a2926245c26a724af49c744f28f76e89f","scripts":{"test":"npm run test-only && npm run eslint","eslint":"eslint sigmoid-kernel.js __tests__","test-only":"jest","eslint-fix":"npm run eslint -- --fix"},"_npmUser":{"name":"targos","email":"targos+npm@protonmail.com"},"repository":{"url":"git+https://github.com/mljs/kernel-sigmoid.git","type":"git"},"_npmVersion":"6.9.0","description":"Sigmoid (hyperbolic tangent) kernel","directories":{},"_nodeVersion":"12.5.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^24.8.0","eslint":"^6.0.1","eslint-plugin-jest":"^22.7.1","eslint-plugin-import":"^2.18.0","eslint-config-cheminfo":"^1.20.1"},"_npmOperationalInternal":{"tmp":"tmp/ml-kernel-sigmoid_1.0.1_1561808903753_0.08531849825066096","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"ml-kernel-sigmoid","version":"1.1.0","keywords":["machine","learning","data","mining","datamining","kernel","sigmoid"],"author":{"name":"Michaël Zasso","email":"targos@protonmail.com"},"license":"MIT","_id":"ml-kernel-sigmoid@1.1.0","maintainers":[{"name":"stropitek","email":"kostro.d@gmail.com"},{"name":"targos","email":"npm@secmail.targos.dev"},{"name":"lpatiny","email":"luc@patiny.com"},{"name":"mljs-bot","email":"bot+npm-mljs@zakodium.com"},{"name":"maasencioh","email":"maasencioh@gmail.com"},{"name":"jeffersonh44","email":"jeffersonh44@gmail.com"},{"name":"andcastillo","email":"andcastillo@gmail.com"}],"homepage":"https://github.com/mljs/kernel-sigmoid#readme","bugs":{"url":"https://github.com/mljs/kernel-sigmoid/issues"},"dist":{"shasum":"ea003b23be6029b42ece5ec43f9a5fcd72ae3eca","tarball":"https://registry.npmjs.org/ml-kernel-sigmoid/-/ml-kernel-sigmoid-1.1.0.tgz","fileCount":4,"integrity":"sha512-BoamIZnctXfd9A5QUHWWelQo2ZY5/MY4jJsJSH4kk3ORD1FOp3DtejdTtilreTlnXCctIdb6CEsmJbktWzyjbQ==","signatures":[{"sig":"MEUCIF/uR6aG5cBsTSUdxMiamuwBfXOk3GV1YFNbmlmV1uSbAiEAxYOrc1MVk/7VxII3Jnyc5ELZqrPQTwXGcAsdUErsygM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4187},"type":"module","exports":{".":"./src/index.js"},"gitHead":"a806e8aa6fab1513e3690780b93f54c72d3b2cb3","scripts":{"test":"npm run test-only && npm run eslint && npm run prettier","eslint":"eslint src","prettier":"prettier --check src","test-only":"vitest run --coverage","eslint-fix":"eslint src --fix","prettier-write":"prettier --write src"},"_npmUser":{"name":"mljs-bot","email":"bot+npm-mljs@zakodium.com"},"repository":{"url":"git+https://github.com/mljs/kernel-sigmoid.git","type":"git"},"_npmVersion":"11.13.0","description":"Sigmoid (hyperbolic tangent) kernel","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.4","vitest":"^4.1.8","prettier":"^3.8.3","@vitest/coverage-v8":"^4.1.8","eslint-config-cheminfo":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ml-kernel-sigmoid_1.1.0_1780725616128_0.4874706582233772","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"ml-kernel-sigmoid","version":"2.0.0","description":"Sigmoid (hyperbolic tangent) kernel","type":"module","exports":{".":"./src/index.js"},"scripts":{"eslint":"eslint src","eslint-fix":"eslint src --fix","prettier":"prettier --check src","prettier-write":"prettier --write src","test":"npm run test-only && npm run eslint && npm run prettier","test-only":"vitest run --coverage"},"repository":{"type":"git","url":"git+https://github.com/mljs/kernel-sigmoid.git"},"keywords":["machine","learning","data","mining","datamining","kernel","sigmoid"],"author":{"name":"Michaël Zasso","email":"targos@protonmail.com"},"license":"MIT","bugs":{"url":"https://github.com/mljs/kernel-sigmoid/issues"},"homepage":"https://github.com/mljs/kernel-sigmoid#readme","devDependencies":{"@vitest/coverage-v8":"^4.1.8","eslint":"^9.39.4","eslint-config-cheminfo":"^18.0.0","prettier":"^3.8.3","vitest":"^4.1.8"},"gitHead":"ec7b5f8557b726c4222bf576c0170314e59f3910","_id":"ml-kernel-sigmoid@2.0.0","_nodeVersion":"24.16.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-LAQSnSPfHdb4TWUJUYKEv8y2JoXBBo3k2dmqnRzukdxrYxPpna0WmpJksJsfCLaococ3l3pERJ8jgzV+bkX1GA==","shasum":"15ab2d373f71515e97fdcd0be316896d0d0e6086","tarball":"https://registry.npmjs.org/ml-kernel-sigmoid/-/ml-kernel-sigmoid-2.0.0.tgz","fileCount":5,"unpackedSize":4231,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCe/v8fut6tmYpf223edGHpLuJlacrgZsuqf+enucPzCQIgGlBPXG91hSqJPSO2WufLfIFNEGxklFlBBP1G+jRyZ5g="}]},"_npmUser":{"name":"mljs-bot","email":"bot+npm-mljs@zakodium.com"},"directories":{},"maintainers":[{"name":"stropitek","email":"kostro.d@gmail.com"},{"name":"targos","email":"npm@secmail.targos.dev"},{"name":"lpatiny","email":"luc@patiny.com"},{"name":"mljs-bot","email":"bot+npm-mljs@zakodium.com"},{"name":"maasencioh","email":"maasencioh@gmail.com"},{"name":"jeffersonh44","email":"jeffersonh44@gmail.com"},{"name":"andcastillo","email":"andcastillo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ml-kernel-sigmoid_2.0.0_1780728074705_0.8788242825431123"},"_hasShrinkwrap":false}},"time":{"created":"2016-08-03T07:41:10.922Z","modified":"2026-06-06T06:41:14.991Z","1.0.0":"2016-08-03T07:41:10.922Z","1.0.1":"2019-06-29T11:48:23.907Z","1.1.0":"2026-06-06T06:00:16.257Z","2.0.0":"2026-06-06T06:41:14.858Z"},"bugs":{"url":"https://github.com/mljs/kernel-sigmoid/issues"},"author":{"name":"Michaël Zasso","email":"targos@protonmail.com"},"license":"MIT","homepage":"https://github.com/mljs/kernel-sigmoid#readme","keywords":["machine","learning","data","mining","datamining","kernel","sigmoid"],"repository":{"type":"git","url":"git+https://github.com/mljs/kernel-sigmoid.git"},"description":"Sigmoid (hyperbolic tangent) kernel","maintainers":[{"name":"stropitek","email":"kostro.d@gmail.com"},{"name":"targos","email":"npm@secmail.targos.dev"},{"name":"lpatiny","email":"luc@patiny.com"},{"name":"mljs-bot","email":"bot+npm-mljs@zakodium.com"},{"name":"maasencioh","email":"maasencioh@gmail.com"},{"name":"jeffersonh44","email":"jeffersonh44@gmail.com"},{"name":"andcastillo","email":"andcastillo@gmail.com"}],"readme":"# kernel-sigmoid\n\n[![NPM version][npm-image]][npm-url]\n[![build status][ci-image]][ci-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[ci-image]: https://github.com/mljs/kernel-sigmoid/actions/workflows/nodejs.yml/badge.svg?branch=main\n[ci-url]: https://github.com/mljs/kernel-sigmoid/actions/workflows/nodejs.yml\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","readmeFilename":"README.md"}