Machine learning for the new york city power grid