Skip to content

Instantly share code, notes, and snippets.

@sonhmai
Created October 29, 2018 03:22
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 sonhmai/4ae7beffe37c6fa77f6a57006f879e67 to your computer and use it in GitHub Desktop.
Save sonhmai/4ae7beffe37c6fa77f6a57006f879e67 to your computer and use it in GitHub Desktop.
xgb
# XGBClassifier
param_dist = {'objective': 'binary:logistic', 'n_estimators': 2}
clf = xgb.XGBClassifier(**params_dist)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment