Regression of unbalanced data

Hi, I am doing a CNN LSTM regression of a wildly unbalanced dataset. All 6 labels are unbalanced in different ways. How would I use the weightedrandomsampler to deal with this? Examples I’ve seen were all for classification. Thanks a ton

This post might be helpful. :slight_smile: