Skip to main content

Linear Regression

The "Hello World" of Machine Learning.

Drawing the Line​

Imagine a scatter plot of dots showing Temperature vs Bigkart Ice Cream Sales. Linear Regression is simply asking the computer to draw the best possible straight line right through the middle of those dots.

hashcomics
1 / 9
Panel 1
Panel 1
Panel 2
Panel 3
Panel 4
Panel 5
Panel 6
Panel 7
Panel 8
Panel 9

Python Implementation​

Linear Regression Model Fit (Temperature vs Sales)