Autonomous Algorithm for Training Autonomous Vehicles with Minimal Human Intervention