Data Analytics for Grid Resilience with Early Failures and Wear-out Failures