SHARE
TWEET

Untitled

a guest Feb 15th, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top