Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. plt.clf()
  2. plt.scatter(y_test,y_pred,marker='.', c='b')
  3. x=np.linspace(-5,5,1000)
  4. y=x
  5. plt.plot(x,y)
  6. plt.xlim((-1.5,3))
  7. plt.ylim((-1.5,3))
  8. plt.xlabel('test')
  9. plt.ylabel('prediction')
  10. plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement