I am using Majority voting combination rule in weka. There are 4 classifiers in total. I am wondering what will happen if there is a tie in the number of votes
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Weka API : “…..the random number generator used for breaking ties in majority voting..”.
See :http://fiji.sc/javadoc/weka/classifiers/meta/Vote.html
If you are interested in code , this is how they do it:
// Resolve the ties according to a uniform random distribution
int majorityIndex = majorityIndexes.get(m_Random
.nextInt(majorityIndexes.size()));