code used for yelp kaggle competition ending 6/30/2013