Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python linear regression

>>> from scipy import stats
>>> import numpy as np
>>> x = np.random.random(10)
>>> y = np.random.random(10)
>>> slope, intercept, r_value, p_value, std_err = stats.linregress(x,y)
Source by docs.scipy.org #
 
PREVIOUS NEXT
Tagged: #python #linear #regression
ADD COMMENT
Topic
Name
6+2 =