Dealing with Unbalanced Data with Minibatches

I found something that looks like class weighting here:

I’m still testing it.