Polynomial regression
Polynomial regression is a regression method that models an outcome as a polynomial function of one or more input variables.
Grokking Machine Learning
A regression model whose predicted outcome is expressed as a polynomial function of its input features.
- How it is used
- Uses polynomial curves to model nonlinear data that a straight-line fit cannot capture.
- How deep it goes
- Defines polynomial degree, then demonstrates power-feature expansion, linear fitting, regularization, and test-set prediction.
- Examples
- Uses polynomial-degree plots and a downward-opening parabola dataset with unregularized, L1-, and L2-regularized fits.
- What you can do after
- Apply via Turi Create by adding feature powers, fitting linear regression, and predicting on a held-out test set.
Read how Grokking Machine Learning explains polynomial regression →
Grokking Machine Learning, Second Edition
A regression method that models a numerical outcome as a polynomial function of one or more input variables.
- How it is used
- Models nonlinear numerical relationships with curves when a straight-line fit is inadequate.
- How deep it goes
- Explains polynomial degrees, feature expansion, testing, and regularization while deferring degree selection to overfitting analysis.
- Examples
- Uses lines, parabolas, cubic curves, and a downward-opening parabolic dataset to illustrate model shape and feature expansion.
- What you can do after
- Apply it via scikit-learn by generating polynomial features, splitting data, fitting regression, and comparing regularized models.
Read how Grokking Machine Learning, Second Edition explains polynomial regression →
What to know first
- linear regressionLinear regression is a statistical method that models a numeric response as a linear function of one or more predictor variables with fitted parameters.
- cubic polynomialA cubic polynomial is a polynomial of degree three.
- inputAn input is information, a value, or an action supplied to a system, program, or computation for processing or to influence its behavior.
- parabolaA parabola is a plane curve whose points are equidistant from a fixed point and a fixed line, and that is represented by a quadratic equation.
Related concepts
- linear regressionuses · Linear regression is a statistical method that models a numeric response as a linear function of one or more predictor variables with fitted parameters.
- polynomial degreeconfigured by · The degree of a polynomial is the greatest exponent with a nonzero coefficient.
- mean absolute erroruses · Mean absolute error is the arithmetic mean of the absolute differences between corresponding predicted and observed numerical values.
- datasetuses · A dataset is an organized collection of related data items, records, observations, or examples treated as a unit for storage, processing, or analysis.
- inputuses · An input is information, a value, or an action supplied to a system, program, or computation for processing or to influence its behavior.
Questions about polynomial regression
What is polynomial regression?
Polynomial regression is a regression method that models an outcome as a polynomial function of one or more input variables.
Which Manning books explain polynomial regression?
Grokking Machine Learning and Grokking Machine Learning, Second Edition.
What should I know before learning polynomial regression?
Manning books that teach polynomial regression usually introduce linear regression, cubic polynomial, input and parabola first.
What is polynomial regression also called?
Polynomial regression is also called polynomial model.
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.

