Code for Criteo competition http://www.kaggle.com/c/criteo-display-ad-challenge