Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. import numpy as np
  2.  
  3. def load():
  4. train_x = np.asarray([[0.9, 0.1],
  5. [0.8, 0.2],
  6. [0.8, 0.1],
  7. [0.1, 0.9],
  8. [0.2, 0.8],
  9. [0.1, 0.8]
  10. ])
  11. train_y = np.asarray([[0.1],
  12. [0.1],
  13. [0.1],
  14. [0.9],
  15. [0.9],
  16. [0.9]
  17. ])
  18. test_x = np.asarray([[0.15, 0.83],
  19. [0.83, 0.15]
  20. ])
  21. return train_x, train_y, test_x
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement