function a = modelset_estimate(a, data) (A) All 2-class models will produce class estimations either 0 or 1. The original classes were however not necessarily 0/1 for no_classes*(no_classes-1)/2 models were created to handle a multi-class problem. The following lines thus convert the model's class estimations back to the original class numbers (B) Each model's estimation is added together. This is a pool. The winner class [for each observation] will be the one that receives more votes.