Trading, Quant, Recurrent Neural Network, Machine Learning, Stock Market.
(namespaces and histograms etc. removed): def gru_cell(state_size): cell = tf.contrib.rnn.GRUCell(state_size) return cell # Inputs inputs = tf.placeholder(tf.float32, [None, seq_len, len(variables)]) labels = tf.placeholder(tf.float32, [None ,n_outputs]) # Placeholder for dropout to switch on and