Harnessing the power of machine learning for a green energy future