Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

max_bin and early_stopping_rounds #8

Closed
yychenca opened this issue Oct 22, 2016 · 4 comments
Closed

max_bin and early_stopping_rounds #8

yychenca opened this issue Oct 22, 2016 · 4 comments

Comments

@yychenca
Copy link

Thank you @ArdalanM for creating the wrapper which looks great!

Is it possible to:

  1. add max_bin to the parameters
  2. add a verbose/ silent flag to control if LightGBM's running message could be printed out, this can be of help for:
  3. extract the best rounds from the running message if early stopping is used.

Thanks,

@ihopethiswillfi
Copy link
Contributor

I just logged in to ask exactly the same as 2) and 3). I just trained a model with early_stopping, but after the training I had no idea how many rounds it trained for and which round was the best one.

@EBazarov
Copy link
Collaborator

Thank you for your reply, you are right it will be very useful.

This features in our roadmap :)

@ArdalanM
Copy link
Owner

@yychenca, @ihopethiswillfi, just update master with your requests:

  • max_bin parameter
  • verbose: if False will silent the lightgbm's output
  • clf.best_round: to get best number of round based on test_data :)

@yychenca
Copy link
Author

Brilliant! Thank you so much Ardalan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants