Question: If you want to randomly split your data into train and test, but you don't want your results to change if you re - run

If you want to randomly split your data into train and test, but you don't want your results to change if you re-run your notebook, what should you pass to train_test_split?
test_size =0.75
train_size =320
random_state =50
stratify = False
 If you want to randomly split your data into train and

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!