python import numpy as np from scipy import stats x = np.random.random(100) y = 2 * x + np.random.random(100) slope, intercept, r_value, p_value, std_err = stats.linregress(x, y) pip install scipy pip install numpy


上一篇:
下一篇:
切换中文