Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. Add a single instance of every image to the training set.
  2. Crop out instances of the majority class from entire dataset and then add these cropped images to the dataset. keep adding these cropped images to training set until number of instances of 2nd majority class is close to number of instances of 1st majority class.
  3. Crop out instances of second majority class and repeat (2)
  4. keep going until all images have been cropped down to the minority class and dataset is roughly balanced.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement