Machine Learning, Deep Learning, Trading, Finance, Stock Market.
model = Sequential() model.add(Convolution1D(input_shape = (WINDOW, EMB_SIZE), nb_filter=16, filter_length=4, border_mode='same')) model.add(MaxPooling1D(2)) model.add(LeakyReLU()) model.add(Convolution1D(nb_filter=32, filter_length=4, border_mode='same')) model.add(MaxPooling1D(2))