https://technicalsource9.medium.com/how-to-apply-majority-voting-for-classification-ensemble-in-matlab-c51979c16cee