Skip to content

Instantly share code, notes, and snippets.

@thigm85
Created July 15, 2022 15:12
Show Gist options
  • Save thigm85/bf44f0a27a6539799d788146e2d9db09 to your computer and use it in GitHub Desktop.
Save thigm85/bf44f0a27a6539799d788146e2d9db09 to your computer and use it in GitHub Desktop.
with open("lightgbm/models/lightgbm_model.json", "w") as f:
json.dump(model.dump_model(), f, indent=2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment