cii-text-analysis/vendor/rubix/ml/docs/kernels/svm/polynomial.md
Jéremy Munsch f68d2ac333
premier poc
2026-02-11 08:24:04 +01:00

563 B

[source]

Polynomial

This kernel projects a sample vector using polynomials of the p'th degree.

Parameters

# Name Default Type Description
1 degree 3 int The degree of the polynomial.
2 gamma null float The kernel coefficient.
3 coef0 0. float The independent term.

Example

use Rubix\ML\Kernels\SVM\Polynomial;

$kernel = new Polynomial(3, null, 0.);