Skip to content

Instantly share code, notes, and snippets.

@youssefHosni
Created September 2, 2023 00:19
Show Gist options
  • Save youssefHosni/f842c59269682423f6eb0d4205ea4271 to your computer and use it in GitHub Desktop.
Save youssefHosni/f842c59269682423f6eb0d4205ea4271 to your computer and use it in GitHub Desktop.
from sklearn.ensemble import AdaBoostClassifier
model = AdaBoostClassifier(n_estimators=100)
model.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