0
What is the significance of random_state =42 and random_state=85?
3 Réponses
+ 2
Where did you get this. Can you share any link.
0
Actually, this question is there in my assignment and then I googled it a bit.
Information which I got as of now is as follows-
random_state simply sets a seed to the random generator, so that train_test_split output is always deterministic... If we don't seed , the output is different each time.
This I got.. but my concern is why particularly 42/85 ?
Also, on site it was mentioned that random_state=42 is used in many official examples of scikit learn
0
As of now am testing out the linear model plot using different values of random_state to see if these number (42/85) are improving the fitting of the data.