Simplifying Linear Regression — A Beginner’s Guide with a real-world Practical Example

Dive into Data Science with a Practical Height-Weight Prediction Model

Josep Ferrer
DataBites

--

Image by the author. ML Basics. Simple Linear Regression Example
Image by the author. ML Basics. Simple Linear Regression Example

Linear regression is one of the most fundamental algorithms in the machine learning universe, and it’s like the ABC of analytics.

Think of it like making the best line through a scatter of stars in the sky, where each star represents a data point.

Today, we’re diving into real-world ML with one of the classic examples of linear dependency — height and weight 👇🏻

Understanding the Basics

Simple linear regression is the most basic ML algorithm. It’s where most of us start our journey into data modeling.

Imagine plotting a graph of height and weight, you’ll likely see a line that roughly shows as height increases, so does weight.

That’s linear regression in a nutshell:

Finding the straight line — mathematically speaking — that best fits our data.

--

--

Josep Ferrer
DataBites

Crush into the world of data with DataBItes: databites.tech | Outstand using data. ML, SQL, Python and DataViz | 👉🏻Inquiries in rfeers@gmail.com