Skip to content

Instantly share code, notes, and snippets.

@Manikant92
Created September 4, 2018 10:42
Show Gist options
  • Save Manikant92/e6c654664e70f324a54a0d6cfec560d9 to your computer and use it in GitHub Desktop.
Save Manikant92/e6c654664e70f324a54a0d6cfec560d9 to your computer and use it in GitHub Desktop.
#logic is nothing but coefficient to inputs which gives our output
print(lr.coef_)
#output: [ 11.]
#intercept is the error/constant between input and output variables
print(lr.intercept_)
#output: -2.84217094304e-14 which is -0.0000000000000284217094304 in decimal notation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment