Shared code for Kaggle cometitions.