This is a basic linear regression model built from scratch using scikit-learn. It learns the mathematical pattern $y = 2x$.
scikit-learn
-