Optimizing Machine Learning Models For Autonomous Vehicles