Efficient Line Search Method Based on Regression and Uncertainty Quantification