Machine Learning Foundations for Automotive Applications