Code for kaggle Partly Sunny competition