Machine Learning & Reinforcement Learning Foundations