Machine Learning Algorithms And Applications For Sustainable Smart Grid