Robust machine learning methods for survival analysis