Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plt.clf()
- plt.scatter(y_test,y_pred,marker='.', c='b')
- x=np.linspace(-5,5,1000)
- y=x
- plt.plot(x,y)
- plt.xlim((-1.5,3))
- plt.ylim((-1.5,3))
- plt.xlabel('test')
- plt.ylabel('prediction')
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement