Question 54
Given the following code using BaggingClassifier with KNeighborsClassifier as the base estimator:
Which of the following statements is correct?
Above code uses bootstrapping to generate samples for each base classifier.
model will be tested on out of the bags samples.
Due to weights="distance", each base KNN classifier will treat all neighbors equally in terms of voting power.
The ensemble will consist of 3 base KNN classifiers.
None of these