Question 9
Choose the option based on the following statements:
Statement 1: The train-test split allows us to simulate the model’s performance on new data by reserving a portion of the dataset for testing.
Statement 2: Separating the dataset into training and testing sets helps prevent data leakage, where information from the test set unintentionally influences the model during training. This ensures a fair assessment of the model’s generalization capabilities.
Statement 1 is True and statement 2 is False
Statement 1 is False and statement 2 is True
Both the statements are False
Both the statements are True