Quiz: Split Your Dataset With scikit-learn’s train_test_split()
Interactive Quiz ⋅ 7 Questions
By Martin Breuss
Copied!
Happy Pythoning!
In this quiz, you’ll test your understanding of
how to use train_test_split()
from the sklearn
library.
By working through this quiz, you’ll revisit why you need to split your dataset in supervised machine learning, which subsets of the dataset you need for an unbiased evaluation of your model, how to use train_test_split()
to split your data, and how to combine