I need to x_train, X_validate, and y_test. This is the code I have so far, but I do not think it is right. Could someone please guide me? I typically only see train and test, not all 3 together.
X_train, X_test, y_train, y_test = train_test_split(X.T, y.T, test_size=0.2, random_state=1) X_train, X_val, y_train, y_val = train_test_split(X_train, y_train, test_size=0.25, random_state=1)