All our Data Science projects include bite-sized activities to test your knowledge and practice in an environment with constant feedback.
All our activities include solutions with explanations on how they work and why we chose them.
Use `train_test_split√ to split the data into training and testing sets. Split the dataset in 80% training, 20% testing and random_state=0.
Store the values in the variables in
X_train
,X_test
,y_train
,y_test
,random_state
.
For this task use cv=5, and random_state=42 and compute the Best mean score