Learning to Prevent Aviation Accidents