adjust_class_label function

Adjust categorical mapping