I am working on a dataframe and need to split it into a training set and test set, with 90% for Cross-Validation training, and 10% for a final test set. The problem is that I do not know where to specify that I need a cross validation of 90% in my train_test_split function.
Asked
Active
Viewed 345 times
0
Ethan
- 1,633
- 9
- 24
- 39
train_test_splitand then use any of the cross validation options (e.g.GridSearchCVon the 90%. – Oxbowerce Dec 22 '21 at 20:22https://scikit-learn.org/stable/modules/generated/sklearn.model_selection.train_test_split.html
– ASH Dec 24 '21 at 13:54