Anubhav Dhiman
Anubhav Dhiman
[pydata Seattle 2017: Implementing and Training Predictive Customer Lifetime Value Models in Python](https://pyvideo.org/pydata-seattle-2017/implementing-and-training-predictive-customer-lifetime-value-models-in-python.html) Found this talk insightful. Unfortunately the code has been recently removed from github. Will try to reproduce...
`pip install word2vec`
For Python 3 Replace `xrange` to `range` in the last line ``` def lstm_cell(): return tf.contrib.rnn.LSTMCell(hidden_size) multi_lstm_cells = tf.contrib.rnn.MultiRNNCell([lstm_cell() for _ in range(2)], state_is_tuple=True) ```