Guest User

Untitled

a guest
Feb 15th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. from sklearn.ensemble import AdaBoostClassifier
  2. from sklearn.tree import DecisionTreeClassifier
  3. model = AdaBoostClassifier(base_estimator = DecisionTreeClassifier(max_depth=1), n_estimators=3)
  4. model.fit(x_train, y_train)
Add Comment
Please, Sign In to add comment