Prediction of results of elections based on candidates promises