Code for Sagacify's kdd-cup submissions.