Predicting user activity based on smartphone data