import pandas as pd import numpy as np import matplotlib.pyplot as plt %matplotlib inline
from sklearn.linear_model import LinearRegression regressor = LinearRegression() regressor.fit(X_train, y_train)