@ptrblck
Thank you but I still have one confusion
for a batch_size = 50/100
If minority class has 100 and majority class has 1000 samples respt.
Does it draw these 50/100 samples  repeatedly during batch processing from minority one. I mean
Does the data loader takes the same 50/100 samples from minority class after the first batch (as there is no sample point left now) but there are still a lot sample points left now for majority class