Optimization of a function based on training data. Interval prediction will be tested against other predictions.