Question 13
It can only be used with classifiers that output probabilities.
When voting=‘hard’, it chooses the class with the highest sum of predicted probabilities.
When voting=‘soft’, it averages the predicted probabilities and picks the class with the highest probability.
It cannot be used with Pipeline objects.