clee8912
1/4/2019 - 2:42 AM

best_fit(xs,ys)

best fit

def best_fit(xs,ys):

    m = calc_slope(xs,ys)
    b = np.mean(ys) - m*np.mean(xs)
    
return m, b