DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
line of best fit in linear regression
fx = np.array([xs.min(), xs.max()]) fy = res.intercept + res.slope * fx plt.plot(fx, fy, '-')
Source by campus.datacamp.com #
PREVIOUS
NEXT
Tagged:
#line
#fit
#linear
#regression
ADD COMMENT
Topic
COMMENT
Name
2+2 =
Submit