Predict_and_sample (Q3) in Jazz Improvisation with LSTM Networks

This is a duplicate thread: I answered on the other one.