Self-learning mechanism for prediction of energy consumption and generation | IEEE Conference Publication | IEEE Xplore