Linear Regression Model

Most widely used learning algorithm in the world today. It just means fitting a straight line to your data. An example real-world problem is house sizes and prices.

Regression models predict numbers. Linear regression models are just one type of model.

ML Terminology

  • Training Set: Data used to train the model
  • x: “input” variable. Also known as “feature”
  • y: “output” variable. Also known as “target”
  • m: Total number of training examples
  • (x, y): Single training example
  • x1: The first training examples input
  • y1: The first training examples output