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

Fix for ZeroDivisionError when verbose_eval equals to 0. #3115

Merged
merged 1 commit into from Feb 15, 2018

Conversation

oleg-panichev
Copy link
Contributor

This pull request addresses an issue when verbose_eval parameter set to zero leads to ZeroDivisionError: integer division or modulo by zero.

@codecov-io
Copy link

codecov-io commented Feb 15, 2018

Codecov Report

Merging #3115 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #3115   +/-   ##
=========================================
  Coverage     43.79%   43.79%           
  Complexity      228      228           
=========================================
  Files           159      159           
  Lines         12507    12507           
  Branches        466      466           
=========================================
  Hits           5478     5478           
  Misses         6837     6837           
  Partials        192      192
Impacted Files Coverage Δ Complexity Δ
python-package/xgboost/callback.py 87.8% <100%> (ø) 0 <0> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 375d753...d1072f6. Read the comment docs.

@khotilov khotilov merged commit cf19caa into dmlc:master Feb 15, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants