Calculates the consistency between a clustering and spam classification.