Trust-region algorithms for training responses: machine learning methods using indefinite Hessian approximations. (3rd May 2020)