When I implement BaggingClassiffier like:
BaggingClassifier(DecisionTreeClassifier(splitter="random"), n_estimators=100, max_sample=1)