Linear Regression

Linear regression is a statistical method used to model the relationship between a dependent variable (what you're trying to predict) and one or more independent variables (what you're basing your prediction on).

Introduction

  • Relationship between variables is described by a linear function.
  • The change of one variable causes the other variable to change.
  • We want to find the parameters that predict the output Y from the data X in a linear fashion.

Explanation

Linear regression seeks a vector of parameters such that we have a linear relation between prediction Y and attributes X.