I'm building a classification model using the caret
package. I'm splitting my dataset in train and test (80/20) and training using 10-fold cross-validation repeated 10 times to find the best parameters.
After the model is trained, I want to pick the best cutoff point (based on my criteria). Should I do it using the train set, the test set, or should I split on a third set just to optimize the cutoff?
From what I understand, the test set should only be used to get a better performance estimate. I shouldn't use it to optimize for anything, be it the cutoff or even choosing the best model. If that's correct, it would mean that I need another dataset to determine the cutoff, am I right?