Polynomial kernel
A polynomial kernel is a kernel function that measures similarity between inputs using a polynomial of their inner product.
Grokking Machine Learning
A kernel function that computes polynomial similarities between input examples and enables polynomial decision regions.
- How it is used
- Builds nonlinear SVM classifiers with polynomial decision regions such as circles, parabolas, and hyperbolas.
- How deep it goes
- Explains feature expansion geometrically, works through circular and modified XOR datasets, and demonstrates degree-2 implementation.
- Examples
- Uses circular points, degree-2 monomial columns, the equation x1² + x2² = 1, and a noisy circular SVC dataset.
- What you can do after
- Apply it via SVC by selecting `kernel='poly'` and a polynomial degree for nonlinear classification.
Read how Grokking Machine Learning explains polynomial kernel →
Timeless Algorithms, The Foundational Ideas
A polynomial kernel is a kernel function whose value is based on a polynomial of the input observations’ inner product.
- How it is used
- Represents nonlinear feature interactions in an SVM without explicitly constructing transformed features.
- How deep it goes
- Defines the polynomial form, interprets degree and offset, and links feature-space hyperplanes to curved boundaries in original space.
- Examples
- Uses a second-degree kernel for squared features and pairwise interactions, and contrasts a third-degree boundary with linear and RBF boundaries.
- What you can do after
- Evaluate candidate polynomial degrees through cross-validation rather than training accuracy alone.
Read how Timeless Algorithms, The Foundational Ideas explains polynomial kernel →
Related concepts
- kernel functionkind of · A kernel function is a mathematical function that measures similarity between inputs, often by representing an inner product in an implicit feature space.
- polynomial degreeconfigured by · The degree of a polynomial is the greatest exponent with a nonzero coefficient.
- kernel methoduses · A kernel method is a machine-learning technique that uses a kernel function to model relationships between data points, often without explicitly constructing their feature representations.
Questions about polynomial kernel
What is polynomial kernel?
A polynomial kernel is a kernel function that measures similarity between inputs using a polynomial of their inner product.
Which Manning books explain polynomial kernel?
Grokking Machine Learning and Timeless Algorithms, The Foundational Ideas.
What is polynomial kernel a kind of?
Polynomial kernel is a kind of kernel function. A kernel function is a mathematical function that measures similarity between inputs, often by representing an inner product in an implicit feature space.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

