Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sample = X_clean[-1]
- print 'Before norm', sample
- sample = np.array([sample])
- sample = (np.array(sample) - np.mean(sample)) / np.std(sample)
- print 'After norm', sample
- sample = np.reshape(sample, (sample.shape[0], sample.shape[1], 1))
- print autoencoder.predict(sample)
Add Comment
Please, Sign In to add comment