Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Regression problem

  • Predict continuous valued output.

Housing prices (y)

  • X:

    • Size of the flat in sqm.
    • Distance from school.
    • Distance from grocery store.
    • City.
    • Area in the city.
    • ...
  • How to predict the price based on the input variables?

Size, weight, color, nutrition value of various crops (y)

  • X:
    • rainfall
    • amount of sun
    • use of fertilizer
    • ...

Life expectancy at birth (y)

  • X:
    • alcohol or drug usage by the mother during the pregnancy
    • age of the mother
    • method of birth (delivery)
    • birth-control used prior to the conception
    • prior pregnencies
    • same for the father where relevant

  • A linear line: ax + b?
  • Maybe a 2nd degree polynom ax^2 + bx + c?
  • An exact match on the known points using very high degree polynom?

image source