Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python sklearn linear regression slope

lm = LinearRegression()
lm.fit(mpg, price)

print(lm.intercept_)
print(lm.coef_)
 
PREVIOUS NEXT
Tagged: #python #sklearn #linear #regression #slope
ADD COMMENT
Topic
Name
4+2 =