05: Linear Model Flashcards
(7 cards)
1
Q
What are the linear models available for regression?
A
- Simple linear regression
- Multiple linear regression
- Ridge regression
- Lasso regression
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.
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.
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
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
6
Q
Linear models used in classification?
A
- Logistic regression
- Multinomial logistic regression
- Linear discriminant analysis
- Linear SVM (support vector machine)
7
Q
Linear models in multiclass classification?
A
- Multinomial logistic regression (Softmax reg)
- One-vs-Rest logistic regression (OvR)
- Linear SVM