How to access each classifier's predicted class and accuracy from the 'fitcensemble' function generated model?
1 view (last 30 days)
For some context, I am using a homogenous ensemble with the bagging method. I am trying to modify the default voting system used by MATLAB while using fitcensemble as it is not clear how the function does this by default.
Any information on the following would be much appreciated:
- How does MATLAB combine votes by default in ensemble classification?
- Can this be changed programatically to use a different (or custom) method of voting?
- Can each classifier's predicted class and accuracy from the model be obtained to make my own voting fuction?