Regression
Simple Linear Regression using sklearn
Creating linear regression in python can be intimidating at first, but with some practise it’s easier than you would’ve imagined. First, we need to import some key libraries: import numpy as np import pandas as pd import matplotlib.pyplot as plt from scipy.stats import norm from sklearn.