Predicting energy usage using Spark