Function that predicts the accuracy of the learning algorithm;