In-network Self-Learning Algorithms for BEMS Through a Collaborative Fog Platform | IEEE Conference Publication | IEEE Xplore