This function reads a TreeBagger classifier result file (.mat format) and summarizes the number of targets in each class based on the classification scores and thresholds.
Value
A list containing three elements:
- classcount
Numeric vector of counts for each class based on the winning class assignment.
- classcount_above_optthresh
Numeric vector of counts for each class above the optimal threshold for maximum accuracy.
- classcount_above_adhocthresh
Numeric vector of counts for each class above the specified adhoc thresholds (if provided).