1D Linear Regression

Task: Predict output from a single input

  • A linear model is of the form
  • The parameters are and they define a family of lines
    • is the slope and is the y-intercept

Training Set: Can be represented as

Loss: Can be represented as