The whole point of gerrymandering is to split districts so that votes for the other party are diluted. The whole point is to create many districts where your party is majority and then a few districts for the rest of the opposition.

If you are good at it, end result is that minority can keep majority of the seats and power. So, as there are two parties, the groups are "likely to voted republicans" and "likely to vote democrats".