The context is, I am using the caret library with a data set to train and predict using different models. What is the difference between setting the seed at the beginning of an R script or in each of the training and prediction processes?
Thanks Manel