1regressor = LinearRegression()
2regressor.fit(X_train, y_train) #training the algorithm
1dataset = pd.read_csv('/Users/nageshsinghchauhan/Documents/projects/ML/ML_BLOG_LInearRegression/Weather.csv')
1X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=0)