Leveraging Machine Learning for Equitable Transition of Energy Systems