Use of Machine Learning for Automated Convergence of Numerical Iterative Schemes