Tim
Tim

Reputation: 99418

Does it matter if I set random_state same for RandomForestClassifier() and train_test_split()?

In sciki learn, RandomForestClassifier() and train_test_split() both have random_state parameter.

Statistically, does it matter if I set them to be the same seed? Will that be wrong? Thanks.

Upvotes: 0

Views: 118

Answers (1)

Arnaud Joly
Arnaud Joly

Reputation: 914

Nothing will be wrong to set the same seed.

Upvotes: 1

Related Questions