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