added PerformCategorization for evaluating performance