Machine Learning for Safety-Critical Robotics Applications