Selecting 80% of dataset randomly to be the training set and the rest will be the test set.