January 2020
Beginner to intermediate
432 pages
11h 24m
English
Having completed the EDA, the next step is to split the dataset into training and test sets. The idea is to have two separate datasets:
What we want to achieve by splitting the data is preventing overfitting. Overfitting is a phenomenon whereby a model finds too many patterns in data used for training and performs well only on that particular data. In other words, it fails to generalize to unseen data.
This is a very important step in the analysis, as doing it incorrectly can introduce bias, for example, in the ...
Read now
Unlock full access