앙상블(Ensemble) 하드보팅(Majority/Hard Voting)에서 모델(Model)이 짝수일땐 어떻게 할까?
·
Machine learning
In the cases of a tie, the VotingClassifier will select the class based on the ascending sort order. E.g., in the following scenario classifier 1 -> class 2 classifier 2 -> class 1 the class label 1 will be assigned to the sample. --> 앙상블 모델에서 Hard voting을 택했을 때 아래와 같이 예측하면 그냥 Class 오름차순에 의해서 class 1으로 결정한다는 내용이다. classifier 1 -> class 2 classifier 2 -> class 1 참으로 허술하구나.. 그래도 1:1일 경우에는 확률값으로 한다..