T4

Linear Models

Pasted image 20231213155719.png

Linear Regresion

Important

Aims to predict the value of a outcome, Y, based on the value of a predictor variable, X.

  • Fit a straight line into a data set of observations;
  • Use this line to predict unobserved values.

Pasted image 20231213155847.png

Models

Represent the relationship between input variables ๐’™๐Ÿ, ..., ๐’™๐’ (independent variables), and an output variable y (dependent variable).

Model (h) prediction given by (for the i-th example):
Pasted image 20231213160143.png

Multiple linear regression

The ฮธ parameters reflect the independent contribution of each independent variable, x, to the value of the dependent variable, y.

Visualization

Pasted image 20231213160415.png

Logistic Regression

Pasted image 20231213160927.png