Skip to content

Instantly share code, notes, and snippets.

@Damian89
Created October 25, 2017 13:41
Show Gist options
  • Select an option

  • Save Damian89/f5f246f1895b4e2fd2f47102fd9f4f1d to your computer and use it in GitHub Desktop.

Select an option

Save Damian89/f5f246f1895b4e2fd2f47102fd9f4f1d to your computer and use it in GitHub Desktop.
ada_model = ensemble.AdaBoostClassifier(
base_estimator=ensemble.ExtraTreesClassifier(
#parameter
),
n_estimators=75,
learning_rate=0.1,
random_state=42,
)
ada_model.fit(X_train, y_train)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment