How do I use a training set combined with confidence level to classify the samples in a test set? Even using a validation set, are we not trying to maximize the results on the test set? And so at the end overfitting it?