Improving asset health and grid resilience using machine learning