Using _ we divide the data into train and test data.
1 train_test_split
2 train_test_splits
3 train_split
4 test_split
Answers
Answered by
0
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
Answered by
0
Explanation:
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.
Similar questions