One of several submission algorithms for Kaggle.com competition