Can anyone tell me why we set random state to zero in splitting train and test set.
X_train, X_test, y_train, y_test = \\ train_test_split(X, y, test_size
For multiple times of execution of our model, random state make sure that data values will be same for training and testing data sets. It fixes the order of data for train_test_split