Data Science Interview Question 14

Most Favorable Data Science Interview Questions and Answers for Beginners

Data Science Interview Question 14

What rules you should follow while splitting a dataset?

  • There are two main rules that you should make sure of while splitting a dataset into a training set and a test set:
  1. Both datasets should reflect the distribution of the original dataset.

  2. The original dataset should be randomly shuffled while dividing the data.

14.png