Created
September 2, 2023 00:17
-
-
Save youssefHosni/eaf417c007e97a51387f5bdc1d39807b 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 BaggingRegressor | |
bagging = BaggingRegressor(DecisionTreeRegressor()) | |
bagging.fit(X_train, y_train) | |
model.score(X_test,y_test) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment