This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
from keras.models import Sequential | |
from keras.layers.core import Dense, Dropout, Activation, Lambda, TimeDistributedDense | |
from keras.layers.recurrent import LSTM | |
from keras.layers.embeddings import Embedding | |
from keras.optimizers import RMSprop | |
from keras.utils import np_utils | |
import numpy as np | |
import matplotlib.pyplot as plt |