Code used to achieve 9th/1568 on private leaderboard on Kaggle's 'Allstate Purchase Prediction Challenge'