downsampling and upweighting

One way to handle an [[Imbalanced Datasets]] is to downsample and upweight the majority class. Here are the definitions of those two new terms: