Quantitative convergence analysis of dynamical processes in machine learning