Random Undersampling for Imbalancd Dataset

Hello
I have a dataset of multiple classes, however, the dataset is imbalanced.
I know that RUSBoost method is effective for such purposes, however, my dataset includes images, and I want to use them for a CNN.
Could you please help me on how to perform Random Undersampling (RUS) prior to inputing the dataset to the CNN?
Thank you.

Answers (0)

Asked:

on 18 Mar 2020

Commented:

on 11 Jul 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!