I've been reading quite a bit and i'm a little confused with k-folds. I understand the concept behind it, but i'm not sure about how to deploy it.
The usual step that i've been seeing after data exploration is train_test_split
, encoding and scaling fit_transform
the training sets and just fitting the testing sets before testing which algorithms work. After which they tune the hyper-parameters.
So if I were to use k-folds now, do I avoid using train_test_split? And at which do we use k-folds?
Thanks!