Linear Regression v2 (Notes)

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/22

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

23 Terms

1
New cards
Linear Regression
A method to model the relationship between a dependent variable (y) and one or more independent variables (x1, x2,…, xn).
2
New cards
Dependent Variable
The outcome variable that is being predicted or explained in a regression model, typically denoted as y.
3
New cards
Independent Variable
The input features used to predict the dependent variable in a regression model, typically denoted as x1, x2,…, xn.
4
New cards
Multiple Linear Regression
An extension of linear regression that uses multiple features to predict the dependent variable.
5
New cards
Mean Squared Error (MSE)

loss function that measures how well a regression model predicts target values, defined as the average of the squared differences between actual and predicted values.

6
New cards
Residuals

The differences between observed values and predicted values in a regression model

7
New cards
Gradient Descent
An optimization algorithm used to minimize a loss function by iteratively adjusting model parameters.
8
New cards
Objective Function

minimized in optimization problems, in the context of regression, referring to minimizing the sum of squared errors.

9
New cards
Ridge Regression
A linear regression technique that adds an L2 penalty to the loss function to prevent overfitting by shrinking coefficients.
10
New cards
Lasso Regression
A linear regression technique that adds an L1 penalty to the loss function, allowing for automatic feature selection by shrinking some coefficients to zero.
11
New cards
Elastic Net
A linear regression technique that combines both L1 and L2 penalties, useful for datasets with correlated predictors.
12
New cards
Regularization Parameter (λ)
Controls the strength of the penalty added to the loss function in Ridge and Lasso regressions.
13
New cards
Intercept (β0)
The expected value of the dependent variable when all independent variables are zero, represented as β0.
14
New cards
Coefficients (β1, β2, ... , βn)
The values that represent the influence of each independent variable on the dependent variable in a regression model.
15
New cards
Cross Validation

estimate the skill of machine learning models by dividing the dataset into training and test sets multiple times.

ensures model generalizes well and avoids overfitting

16
New cards
Feature Selection
The process of selecting a subset of relevant features for a regression model to improve its performance and interpretability.
17
New cards
Optimization Algorithm
A method or process used to minimize or maximize an objective function by adjusting parameters.
18
New cards
Learning Rate (α)
A hyperparameter that controls how much to change the model in response to the estimated error each time the model weights are updated.
19
New cards
Step-by-Step Workflow for Gradient Descent

initializing coefficients, computing predictions, calculating loss, computing gradients, and updating coefficients.

20
New cards
Sum of Squared Errors (SSE)
A measure of the total deviation of the predicted values from the actual values, which is minimized in regression.
21
New cards
Kink at Zero
An important feature of the L1 penalty in Lasso Regression that can lead to feature selection by forcing some coefficients to be exactly zero.
22
New cards
Impact of Alpha (α)
Refers to how changes in the regularization parameter affect the strength of penalization and model performance.
23
New cards
Sharp Corner in Lasso Regression
The feature of the L1 penalty that enables it to reduce some coefficients to zero, effectively performing feature selection.