Talk:Map segmentation

Formula in example
When the optimum is each $$X_i$$ having $$P_b / n$$ blue and $$P_r / n$$ red points the formula should be $$\max(||P_b \cap X_i| - |P_b| / n| + \dots)$$. I'm new to this topic so I am asking here first.