Skip to content

Instantly share code, notes, and snippets.

@sagarhowal
Created December 6, 2017 10:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sagarhowal/80b79f0d4302cc9fe77bf34279de593f to your computer and use it in GitHub Desktop.
Save sagarhowal/80b79f0d4302cc9fe77bf34279de593f to your computer and use it in GitHub Desktop.
Out-of-Bag in Ensemble Learning
bag_clf = BaggingClassifier(
DecisionTreeClassifier(random_state=42), n_estimators=500,
max_samples=100, bootstrap=True, n_jobs=-1, random_state=42,
oob_score = True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment