Learn how to build a linear regression model from scratch.
Watch the โจ YouTube Video.
- Install latest version of Python.
- You can replace dataset with your own data in
main.py
file, line4
. - Run the script.
python3 main.py
# Amount spent on ads: $4200
# Revenue: $16969.40
# Profit: $12769.40