Closed LydiaMak closed 4 months ago
@LydiaMak Could you provide an example please? I mean an actual df_crowd
where this bug reproduces.
Ok it is solved. It was a bug in my code. However, I have a questions. When there is a tie between the different workers, how is the final result selected?
Great to hear!
In case of a tie, MajorityVote
returns s proba.idxmax(axis="columns")
. So, it will be a determined value, specifically, the first maximum in the columns of a DataFrame that is being return by predict_proba
. I'm not sure we guarantee something regarding the order of columns in this DataFrame.
Observed behavior
MajorityVote() doesn't return the result of the most workers.
Expected behavior
MajorityVote() to return the result of the most workers.
Python Version
3.11
Crowd-Kit Version
1.2.1
Other Packages Versions
No response
Example code
Relevant log output
No response