How to Use Curriculum Learning to Build a Robust ML Model