Linear regression 1d Simple linear regressing using python (only numpy and matplotlib) Synthetic data from Lazy Programmer tutorials