Advertisement
Guest User

Untitled

a guest
May 26th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. def predict(x):
  2. net = load('c.pkl')
  3. result = [np.argmax(net.feedforward(x_a)) for x_a in x]
  4. result = np.reshape(result, newshape=(x.shape[0], 1))
  5. return result
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement