Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import numpy as np
- def load():
- train_x = np.asarray([[0.9, 0.1],
- [0.8, 0.2],
- [0.8, 0.1],
- [0.1, 0.9],
- [0.2, 0.8],
- [0.1, 0.8]
- ])
- train_y = np.asarray([[0.1],
- [0.1],
- [0.1],
- [0.9],
- [0.9],
- [0.9]
- ])
- test_x = np.asarray([[0.15, 0.83],
- [0.83, 0.15]
- ])
- return train_x, train_y, test_x
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement