Learning to Build Resilience into Transportation Systems