R and Python scripts for Criterion Kaggle competition.