I have two vectors of data and I've put them into matplotlib.scatter()
. Now I'd like to over plot a linear fit to these data. How would I do this? I've tried using scikitlearn
and np.scatter
.
I have two vectors of data and I've put them into matplotlib.scatter()
. Now I'd like to over plot a linear fit to these data. How would I do this? I've tried using scikitlearn
and np.scatter
.