/linear-regression

Learn how to build a linear regression model from scratch.

Primary LanguageJupyter Notebook

Linear Regression

Learn how to build a linear regression model from scratch.

Open In Colab

YouTube video

PwnFunction YouTube Video

Watch the ✨ YouTube Video.

Run instructions

  1. Install latest version of Python.
  2. You can replace dataset with your own data in main.py file, line 4.
  3. Run the script.
python3 main.py

# Amount spent on ads: $4200
# Revenue: $16969.40
# Profit: $12769.40