@vishal62 wrote:
I was going through few linear regression models. Can someone explain the relevance of " random_state" during the splitting of the data to trained set and test test.
X_train, X_test, y_train, y_test = \ train_test_split(X, y, test_size=0.30, random_state=0)
what is the consequence of setting different values to random_state?
Posts: 3
Participants: 3