05: Linear Model Flashcards

(7 cards)

1
Q

What are the linear models available for regression?

A
  1. Simple linear regression
  2. Multiple linear regression
  3. Ridge regression
  4. Lasso regression
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Simple linear regression?

A
  • Models the relationship between a single independent variable x and a dependent variable y using a straight line
  • y = w[0] * x[0] + b
  • Use case: When there’s only one predictor.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Multiple linear regression?

A
  • Extends simple linear regression to multiple independent variables
  • y = w[0] * x[0] + w[1] * x[1] + ……… + w[p] * x[p] + b
  • Use case: Predicting a target using several predictors.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Ridge regression?

A
  • Adds a penalty for large coefficients to reduce overfitting
  • Use case: When features are highly correlated or number of features > number of samples
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Lasso regression?

A
  • Adds a penalty equal to the absolute value of the coefficents; can shrink some coefficents to zero, thus performing featrure selection.
  • Use case: For sparse models with automatic feature elimination
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Linear models used in classification?

A
  • Logistic regression
  • Multinomial logistic regression
  • Linear discriminant analysis
  • Linear SVM (support vector machine)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Linear models in multiclass classification?

A
  • Multinomial logistic regression (Softmax reg)
  • One-vs-Rest logistic regression (OvR)
  • Linear SVM
How well did you know this?
1
Not at all
2
3
4
5
Perfectly