Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What is the purpose of the Train/Test Split?
Think about why testing on unseen data is necessary.
What can you infer if your model performs well on the training set but poorly on the test set?
Consider model bias and prediction generalization.
What is the primary goal of a Train/Test Split?
Consider what the primary function of separating data into two parts is.
True or False: The 'random_state' parameter ensures reproducibility of the Train/Test Split.
Think about why reproducing results are important in data science.
Consider a dataset of 10,000 samples. If you want to perform an 80/20 train/test split, how many samples would be used for training and testing?
Calculate 20% of the total samples for testing.
In a scenario where your model performs excellently on the training data yet poorly on test data, what potential issues could cause this discrepancy? Discuss and suggest solutions.
Think about the relationship between training data, model complexity, and generalization.
5 more questions in this section. Enroll free to practise them all.
Enroll free