Random-state in Data Science | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Random-state in Data Science

I know that it's necessary to set Random-state in order to get the same accuracy during a train-test but ask what's the use for, leaving Random-state unset

11th Jun 2020, 7:19 PM
Mario Leofreddi
Mario Leofreddi - avatar
2 Answers
+ 1
Usually you only leave it set during model tinkering. If you have done your job well, after finishing your model you can try re-training it with unset random states - if you get similar results, that's good. If not - the model will most likely not generalize well.
11th Jun 2020, 8:31 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 1
Kuba Siekierzyński Nice. Thank you so much
11th Jun 2020, 9:49 PM
Mario Leofreddi
Mario Leofreddi - avatar