Category "k-fold"

how to use the train_x and train_y from sklearn k-fold split generator

I am using the sklearn k-fold generator to split some data 10 times. When I run the code below I expect train_x,train_y,test_x,test_y to contain all 10 splits h

model.fit in a for loop, for K-fold cross validation

I am trying to code a K-fold cross validation with LSTM architecture. But I got an this error (edit): Traceback (most recent call last): File "/Users/me/Deskt

Difference between GroupSplitShuffle and GroupKFolds

As the title says, I want to know the difference between sklearn's GroupKFold and GroupShuffleSplit. Both make train-test splits given for data that has a group