如果我为RandomForestClassifier()和train\u test\u split()设置相同的random\u state,有关系吗?

2024-04-20 00:48:13 发布

您现在位置:Python中文网/ 问答频道 /正文

在sciki-learn中,RandomForestClassifier()train_test_split()都有random_state参数。你知道吗

从统计学上讲,我把它们设定为同一个种子有关系吗?那会错吗?谢谢。你知道吗


Tags: test参数关系trainrandom种子learnsplit