Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Polynomial Regression | Section
Regression with Python

bookPolynomial Regression

In the previous chapter, we explored quadratic regression, which has the graph of a parabola. In the same way, we could add the to the equation to get the Cubic Regression that has a more complex graph. We could also add x⁴ and so on.

A Degree of a Polynomial Regression

In general, it is called the polynomial equation and is the equation of Polynomial Regression. The highest power of x defines a degree of a Polynomial Regression in the equation. Here is an example

N-Degree Polynomial Regression

Considering n to be a whole number greater than two, we can write down the equation of an n-degree Polynomial Regression.

Normal Equation

And as always, parameters are found using the Normal Equation:

Polynomial Regression with Multiple Features

To create even more complex shapes, you can use the Polynomial Regression with more than one feature. But even with two features, 2-degree Polynomial Regression has quite a long equation.

Most of the time, you won't need that complex model. Simpler models (like Multiple Linear Regression) usually describe the data well enough, and they are much easier to interpret, visualize and less computationally expensive.

question mark

Choose the INCORRECT statement.

Select the correct answer

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 1. Kapittel 12

Spør AI

expand

Spør AI

ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

bookPolynomial Regression

Sveip for å vise menyen

In the previous chapter, we explored quadratic regression, which has the graph of a parabola. In the same way, we could add the to the equation to get the Cubic Regression that has a more complex graph. We could also add x⁴ and so on.

A Degree of a Polynomial Regression

In general, it is called the polynomial equation and is the equation of Polynomial Regression. The highest power of x defines a degree of a Polynomial Regression in the equation. Here is an example

N-Degree Polynomial Regression

Considering n to be a whole number greater than two, we can write down the equation of an n-degree Polynomial Regression.

Normal Equation

And as always, parameters are found using the Normal Equation:

Polynomial Regression with Multiple Features

To create even more complex shapes, you can use the Polynomial Regression with more than one feature. But even with two features, 2-degree Polynomial Regression has quite a long equation.

Most of the time, you won't need that complex model. Simpler models (like Multiple Linear Regression) usually describe the data well enough, and they are much easier to interpret, visualize and less computationally expensive.

question mark

Choose the INCORRECT statement.

Select the correct answer

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 1. Kapittel 12
some-alt