Member-only story

Beginner’s Notes on Linear Regression

ELIF, Explain it like I’m 5 version

Jesse Ruiz (she/they)
2 min readMay 22, 2021
Photo by Mario Gogh on Unsplash

This article is a simple summary of my notes on Linear Regression; explain it like I’m 5 version.

Linear Regression is a foundational machine learning algorithm, which is supervised — meaning we know what the data represents. It is used to model the relationship between two or more things, i.e., one or more features and an outcome / result.

Some of the questions we could pursue using a linear regression analysis include: What is the relationship between this variable and that variable? Do these set of variables have a significant correlation with a particular outcome?

The ultimate goal of linear regression analysis is to create a function that models the relationship between the given variables. So this means finding the line or plane that minimizes the errors in our predictions when compared with the labeled data. Here, the line or plane represents the model that we are building in order to make some predictions. The errors represent the measurement between the correct answer (labeled data) and the predictions made by the line or plane or model. The labeled data is simply the correct answers that we have and that we use to train the model or create the model in the first place.

--

--

Jesse Ruiz (she/they)
Jesse Ruiz (she/they)

Written by Jesse Ruiz (she/they)

Data Engineer, Artist, Queer writing about tech and life

No responses yet