Class of Linear Regression with 2 methods:
- Fit (finding of intercept and coefficients)
- Predict (predicting values)
This code was prepared for this article: https://medium.com/@axegggl/linear-regression-in-python-e52d8a10f8f3
Python 3.8.3 NumPy 1.22.3 scikit-learn 1.0.2