Last active
September 4, 2018 09:42
-
-
Save Manikant92/7277bbefbd04edbda108cf1280b01d2c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#X_test is our test set 5 rows-30% percent split. Pass our test data to predict method of algorithm. | |
y_prediction = lr.predict(X_test) | |
#print out the results of predictions done by our model. | |
print(y_prediction) | |
#output: [ 154. 33. 110. 55. 22.] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment