Given a set of training examples the error of a learning result is estimated by the empirical error, a measure based on the training data.