Skip to content

Instantly share code, notes, and snippets.

@karamanbk
Last active January 1, 2024 19:58
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
  • Save karamanbk/2741fc0e0bd22c8edcc9e4d0a20fda2b to your computer and use it in GitHub Desktop.
Save karamanbk/2741fc0e0bd22c8edcc9e4d0a20fda2b to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@couzhei
Copy link

couzhei commented Jan 12, 2021

It's strange, I used the same dataset, everything quite identical to the numbers here, but the output is different!? Do we need to set a random_seed for XGBClassifier?
Mine was:
Real Discount Uptick - Order: 608, Revenue: 15200
Predicted Discount Uptick - Order: 558, Revenue: 13950

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment