1.

Using _ we divide the data into train and test data.1 train_test_split2 train_test_splits3 train_split4 test_split​

Answer»

ANSWER:

We USE k-1 subsets to train our data and leave the LAST subset (or the last fold) as TEST data. We then AVERAGE the model against each of the folds and then finalize our model. After that we test it against the test set. As you can see, the function split the original data into different subsets of the data



Discussion

No Comment Found