This book is based on lectures given at the Mathematisches Forschungsinstitut Oberwolfach on “Computational Variational Flows in Machine Learning and Optimal Transportâ€. Recently, mean field control and mean field games offered a general optimal control variational view on learning problems.