Calculates A' (A prime) for classified data against a model's prediction.