Coding task · Python course · Module 9: Machine Learning

Train/Test Data Split

Split data into training and test sets.

Task

Use train_test_split from sklearn to split X and y with test_size=0.2.