Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def predict(x):
- net = load('c.pkl')
- result = [np.argmax(net.feedforward(x_a)) for x_a in x]
- result = np.reshape(result, newshape=(x.shape[0], 1))
- return result
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement