0
$\begingroup$

More specifically, in cases of bootstrap and cross-validation, we often tend to put a set.seed() randomly, either a number people like or more often 12 or 123. This has an influence on the outcome of the model and may change with changing set.seed() if the model is not robust enough.

So why do we want this random splitting of data and not just the same splitting of data everytime?

And, why do you want to set seed?

What good does it do prior to splitting data into train and test?

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.