Skip to content

Instantly share code, notes, and snippets.

@FelixChop
Last active August 8, 2018 11:20
Show Gist options
  • Select an option

  • Save FelixChop/c6e796843e2625b5685ee3dc155d2805 to your computer and use it in GitHub Desktop.

Select an option

Save FelixChop/c6e796843e2625b5685ee3dc155d2805 to your computer and use it in GitHub Desktop.
eval_set = [(X_train, y_train), (X_test, y_test)]
eval_metric = ["auc","error"]
%time model.fit(X_train, y_train, eval_metric=eval_metric, eval_set=eval_set, verbose=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment