Polynomial Regression Flashcards

(5 cards)

1
Q

What does Polynomial Regression allow you to do?

A
  • to fit a curve to your data instead of just a flat line
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does Polynomial Regression make use of?

A
  • linear regression
  • feature engineering
  • quadratic and cubic functions
    -> feature x is raised to quadratic and cubic powers
    f_wb(x) = w1x + w2x2 + w3x3
  • square root of x
    f_wb(x) = w1x + w2sqrt(x)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How important is feature scaling for polynomial functions?

A
  • of increasing important because of quadratic and cubic powers of the features
    -> because the quadratic and cubic value ranges are very different than the simple feature
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How can Gradient Descent recognize which features are important and which not?

A
  • assuming you have multiple features and try out if quadratic or cubic engineered featured are useful you add them to the function f_wb(x)
  • gradient descent runs and applies weights to each feature
  • important features receive higher weights then less important features
    -> thus gradient descent marks whether or not quadratic or cubic features are valuable or not
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly