{"_id":"ml-kernel-polynomial","_rev":"16-1d4815a9f0b7513d0909715758853e23","name":"ml-kernel-polynomial","dist-tags":{"latest":"3.0.0"},"versions":{"2.0.0":{"name":"ml-kernel-polynomial","version":"2.0.0","keywords":["polynomial","kernel","data","mining","datamining","machine","learning"],"author":{"name":"Michaël Zasso"},"license":"MIT","_id":"ml-kernel-polynomial@2.0.0","maintainers":[{"name":"targos","email":"targos@live.com"}],"homepage":"https://github.com/mljs/kernel-polynomial#readme","bugs":{"url":"https://github.com/mljs/kernel-polynomial/issues"},"dist":{"shasum":"8ec02c02ccb68bf25a92fbccb4d55a4b387c8313","tarball":"https://registry.npmjs.org/ml-kernel-polynomial/-/ml-kernel-polynomial-2.0.0.tgz","integrity":"sha512-aW5e+VuCvL2Rj7E5LWYC2+Em3Nq4H7wd13hv17PjAo+jgT4dtKEn4cXQPk8+FpIem40E8N32FtArJSptJA+jIA==","signatures":[{"sig":"MEYCIQCCoKDrm35sxKip0QczOQ4SPMbBI1Yz7AWF6I6STAfsqgIhAPocu5a9xI3LVeSkUOXW3Ea5xyNLsy50JFXlEuy7yWIk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"polynomial-kernel.js","_from":".","_shasum":"8ec02c02ccb68bf25a92fbccb4d55a4b387c8313","gitHead":"5808b6ec08eb8ee0096b6e2688c645341415d55f","scripts":{"test":"mocha --require should --reporter mocha-better-spec-reporter"},"_npmUser":{"name":"targos","email":"targos@live.com"},"repository":{"url":"git+https://github.com/mljs/kernel-polynomial.git","type":"git"},"_npmVersion":"3.10.5","description":"The polynomial kernel","directories":{},"_nodeVersion":"6.3.1","devDependencies":{"mocha":"^3.0.0","should":"^10.0.0","mocha-better-spec-reporter":"^3.0.2"},"_npmOperationalInternal":{"tmp":"tmp/ml-kernel-polynomial-2.0.0.tgz_1470205047182_0.1298090098425746","host":"packages-16-east.internal.npmjs.com"}},"2.0.1":{"name":"ml-kernel-polynomial","version":"2.0.1","keywords":["polynomial","kernel","data","mining","datamining","machine","learning"],"author":{"name":"Michaël Zasso"},"license":"MIT","_id":"ml-kernel-polynomial@2.0.1","maintainers":[{"name":"jeffersonh44","email":"swrt_9950@hotmail.com"},{"name":"lpatiny","email":"lpatiny@gmail.com"},{"name":"maasencioh","email":"maasencioh@gmail.com"},{"name":"stropitek","email":"kostro.d@gmail.com"},{"name":"targos","email":"targos@live.com"}],"homepage":"https://github.com/mljs/kernel-polynomial#readme","bugs":{"url":"https://github.com/mljs/kernel-polynomial/issues"},"dist":{"shasum":"ae99e26892f5763185e2334bad862adc5733c599","tarball":"https://registry.npmjs.org/ml-kernel-polynomial/-/ml-kernel-polynomial-2.0.1.tgz","fileCount":5,"integrity":"sha512-aGDNRPHDiKeJmBxB0L9wTxKNLfp5JytbdRIo5K+FTcmFjkWDe3YZPo6R6wBB5mxaJ5eqTRawzeV4RoIWHbakyQ==","signatures":[{"sig":"MEUCIQClTyCT8cSG2CMU6Cn7jW86iNS80vRQDgrfqN5qmgAw9wIgX28i9Ud/uwEEX0xgpbfzGWLJ+IAWhhTjGgMahc6DLPs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3801,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdF1PtCRA9TVsSAnZWagAAPrwP/11WnRhi96nEZbeQQDFY\nQ/mRZEaO7vSrByG0uBWmJglDSrVKkMVLQlPu+TjcOl/IpNVlcNXQPCD4vyzP\nTB8T2I6xDq5tyb4YVesnKJCMRlKqKWLNNtJWjd8u0mpCBAp44Rq/vFXsa61y\n9Z9ThiuLbZHy715bHsJcMEmYXpZ2PHpLvuO7TDbC/+HeDPaBQxr1Z5/ieD2M\na5mOlg1BOG31213w3rIejUzuXE6VNJSgHLiaF/d8UbtHS2e9OSYSUrqbo5CJ\nbPvYZt9ZIQuGMxrIr+qLOqVvoVkhWIV/LoIqExfb5mcckwcPJsVOJrH8pzzk\neXRD0JgjZpI62xU7dColohbS1o59YMhxe+R2MjZdmphmkoYBg5jof7Q2EQDx\nasnwog+1+2+SkDMphn+UV816aqbuqjKhO+8uZRmUR7j9rvH9sNJDfGjcWZsJ\nOCatGfYnpNsjoIwE1N06nfXCr3uD/GOn8nbVwRY8LW2ELtqpNGj+8EkFHvtC\nxllzEy9Qso0W9ppx76uCO6Ky0ulYY56EMBMnk8aUsXbkl/RI6yLFpXwpqBfX\nuZtf3tgHTNi0h7GVIzGHw5mBsPqqDbCJMQlV1x/fdwT64Xs9kwhvS6U3yZo9\njTSFxD9nHrFUS5NhYpTKbl7YEJ+aIiHUloI2P4xd5hvDCOjRN1GgiiQ/6zt1\npxfF\r\n=UPyy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"polynomial-kernel.js","gitHead":"c093ccc69d9a744eefe5e279a0722789c9a86e86","scripts":{"test":"npm run test-only && npm run eslint","eslint":"eslint polynomial-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-polynomial.git","type":"git"},"_npmVersion":"6.9.0","description":"The polynomial 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-polynomial_2.0.1_1561809900867_0.7567864887389684","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"ml-kernel-polynomial","version":"2.1.0","keywords":["polynomial","kernel","data","mining","datamining","machine","learning"],"author":{"name":"Michaël Zasso"},"license":"MIT","_id":"ml-kernel-polynomial@2.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"}],"homepage":"https://github.com/mljs/kernel-polynomial#readme","bugs":{"url":"https://github.com/mljs/kernel-polynomial/issues"},"dist":{"shasum":"1fe64182cca20e03d1bc8b3f55bc63f4f09f0ac0","tarball":"https://registry.npmjs.org/ml-kernel-polynomial/-/ml-kernel-polynomial-2.1.0.tgz","fileCount":4,"integrity":"sha512-96Ht6iH7QjPAA5Ie9s8gB1qj1UHKKqkQXj4crCHfPRgNwS390lofpInyd5zwuiSH8gTtNtPatXY7NFkRQBn0Xg==","signatures":[{"sig":"MEYCIQCVQqh/1H+bt4Xz2HFQ6rFgoImuRvmpYXTA4Suw3+vo4wIhAKRn14rB3oJ0ugpH2Ri2Q89vxzE/7JzSsHM5QS0ayxJY","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4204},"type":"module","exports":{".":"./src/index.js"},"gitHead":"be3e358a46ae57fe50d27d2f10a40546214b5d2d","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-polynomial.git","type":"git"},"_npmVersion":"11.13.0","description":"The polynomial 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-polynomial_2.1.0_1780725603056_0.07171630207582869","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"ml-kernel-polynomial","version":"3.0.0","description":"The polynomial 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-polynomial.git"},"keywords":["polynomial","kernel","data","mining","datamining","machine","learning"],"author":{"name":"Michaël Zasso"},"license":"MIT","bugs":{"url":"https://github.com/mljs/kernel-polynomial/issues"},"homepage":"https://github.com/mljs/kernel-polynomial#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":"e518b22c113b1cfa52f1924814b29bb5bcc10f1f","_id":"ml-kernel-polynomial@3.0.0","_nodeVersion":"24.16.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-FvJmt4KFPes9uyVxfU277L/GmlAl5dlAYvc2oKopp8f08Su9e66yfg0xkLEnO9Ud1oL7oojIqm8o50mqGKYdwA==","shasum":"678f0e161ab9f0fb2f4d02bb859dff46bbec5dfc","tarball":"https://registry.npmjs.org/ml-kernel-polynomial/-/ml-kernel-polynomial-3.0.0.tgz","fileCount":5,"unpackedSize":4254,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD0sXnbGZFWvfb2cQeAWJdV5M7y4QtHAO8J3eE/p4YOswIhAJyroEPTTAyrxn7Mtj0jnF1KOMBH3DokHt3GpBi4nJia"}]},"_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"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ml-kernel-polynomial_3.0.0_1780728108108_0.6204814982587215"},"_hasShrinkwrap":false}},"time":{"created":"2016-08-03T06:17:28.308Z","modified":"2026-06-06T06:41:48.453Z","2.0.0":"2016-08-03T06:17:28.308Z","2.0.1":"2019-06-29T12:05:01.016Z","2.1.0":"2026-06-06T06:00:03.195Z","3.0.0":"2026-06-06T06:41:48.307Z"},"bugs":{"url":"https://github.com/mljs/kernel-polynomial/issues"},"author":{"name":"Michaël Zasso"},"license":"MIT","homepage":"https://github.com/mljs/kernel-polynomial#readme","keywords":["polynomial","kernel","data","mining","datamining","machine","learning"],"repository":{"type":"git","url":"git+https://github.com/mljs/kernel-polynomial.git"},"description":"The polynomial 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"}],"readme":"# ml-kernel-polynomial\n\n[![NPM version][npm-image]][npm-url]\n[![build status][ci-image]][ci-url]\n[![npm download][download-image]][download-url]\n\nThe polynomial kernel.\n\n## Installation\n\n`$ npm i ml-kernel-polynomial`.\n\n## Usage\n\n### new PolynomialKernel(options)\n\n**Options**:\n\n- `degree` - degree of the polynomial (default: 1).\n- `constant` - polynomial constant (default: 1).\n- `scale` - polynomial scale (default: 1).\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-polynomial.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/ml-kernel-polynomial\n[ci-image]: https://github.com/mljs/kernel-polynomial/actions/workflows/nodejs.yml/badge.svg?branch=main\n[ci-url]: https://github.com/mljs/kernel-polynomial/actions/workflows/nodejs.yml\n[download-image]: https://img.shields.io/npm/dm/ml-kernel-polynomial.svg?style=flat-square\n[download-url]: https://npmjs.org/package/ml-kernel-polynomial\n","readmeFilename":"README.md"}