Code for KDD Cup 2014