Skip to content

Instantly share code, notes, and snippets.

@Manikant92
Last active September 4, 2018 10:36
Show Gist options
  • Save Manikant92/86a6ecbb8f2a94ab54a65ca95dcc7ad3 to your computer and use it in GitHub Desktop.
Save Manikant92/86a6ecbb8f2a94ab54a65ca95dcc7ad3 to your computer and use it in GitHub Desktop.
#predict by providing new input as -18
print(lr.predict(-18))
#output: [-198.]
#-18 * 11 = -198
#predict with 89 as input
print(lr.predict(89))
#output: [ 979.]
# 89 * 11 = 979
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment