text_html_output_1.png text_plain_output_1.png
from sklearn.model_selection import train_test_split

import pandas as pd

import warnings

warnings.filterwarnings('ignore')
n_jobs = -1
random_state = 42

X = pd.read_csv('/kaggle/input/modelling-ready-data/X.csv')

y = pd.read_csv('/kaggle/input/modelling-ready-data/y.csv')

X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.33, random_state=random_state)
print(f'Training set--> X_train shape= {X_train.shape}, y_train shape= {y_train.shape}')
print(f'Holdout set--> X_test shape= {X_test.shape}, y_test shape= {y_test.shape}')