collect_class_thresh function

Obtain and format the class thresholds for ensemble objects