Control, Optimal Transport and Neural Differential Equations in Supervised Learning