How to access each classifier's predicted class and accuracy from the 'fitcensemble' function generated model?

1 view (last 30 days)
Vigneshwar Kannan
Vigneshwar Kannan on 6 Jan 2022
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?
Thank you

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!