Created
June 21, 2017 15:56
-
-
Save FranciscusRenatus/8226b9fa0e66e1184c0a6b9d2551ebf6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fitting Simple Linear Regression to the Training set | |
from sklearn.linear_model import LinearRegression | |
regressor = LinearRegression() | |
regressor.fit(X_train, y_train) | |
# Predicting the Test set results | |
y_pred = regressor.predict(X_test) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment