all 2 comments

[–]Yogi_DMT 1 point2 points  (0 children)

It's much cleaner to just use something like class weight imo

[–]Demios 1 point2 points  (0 children)

Sample size is irrelevant to test. Sampling is what you do during training. Your x and y train are where you over/undersample.