# kernel-polynomial **Repository Path**: mirrors_mljs/kernel-polynomial ## Basic Information - **Project Name**: kernel-polynomial - **Description**: The polynomial kernel - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-22 - **Last Updated**: 2026-08-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ml-kernel-polynomial [![NPM version][npm-image]][npm-url] [![build status][ci-image]][ci-url] [![npm download][download-image]][download-url] The polynomial kernel. ## Installation `$ npm i ml-kernel-polynomial`. ## Usage ### new PolynomialKernel(options) **Options**: - `degree` - degree of the polynomial (default: 1). - `constant` - polynomial constant (default: 1). - `scale` - polynomial scale (default: 1). ### 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-polynomial.svg?style=flat-square [npm-url]: https://npmjs.org/package/ml-kernel-polynomial [ci-image]: https://github.com/mljs/kernel-polynomial/actions/workflows/nodejs.yml/badge.svg?branch=main [ci-url]: https://github.com/mljs/kernel-polynomial/actions/workflows/nodejs.yml [download-image]: https://img.shields.io/npm/dm/ml-kernel-polynomial.svg?style=flat-square [download-url]: https://npmjs.org/package/ml-kernel-polynomial