How to use train_test_split in sklearn to create non-sequential but ordered splits?
I need to split my 2D image data and corresponding target values (pandas DataFrame). For example the targets looks so:
I need to split my 2D image data and corresponding target values (pandas DataFrame). For example the targets looks so: