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

parameter "verbose_eval" does not work #6492

Closed
pngingg opened this issue Dec 11, 2020 · 1 comment
Closed

parameter "verbose_eval" does not work #6492

pngingg opened this issue Dec 11, 2020 · 1 comment

Comments

@pngingg
Copy link

pngingg commented Dec 11, 2020

bst = xgb.train(param, dtrain, num_round, evals=watchlist, verbose_eval=10)

The output will skip the info of iterations 10, 20, 30, ...
The output is like [1],...[9],[11],...,[19],[21],...

Perhaps the "!=" should be "==" in callback.py [line 624]:
if (epoch % self.period) != 0 or self.period == 1:
image

@trivialfis
Copy link
Member

Fixed by #6499

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

2 participants