I recently read that:

you can’t validate the “classification model with the data used to develop the model. You must use completely independent data otherwise you bias the results.


Is there any resampling approach to address this issue?

I would be grateful if any of you can point me to some good references or studies.


Thanks for your help