Created
September 2, 2023 00:16
-
-
Save youssefHosni/7846d9d564b28436d98bd4d6a7f01249 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from sklearn.ensemble import BaggingClassifier | |
from sklearn.tree import DecisionTreeClassifier | |
bagging = BaggingClassifier(base_estimator=DecisionTreeClassifier(),n_estimators=10, max_samples=0.5, max_features=0.5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment