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

dmlc parameter failed to parse small value. #7939

Open
trivialfis opened this issue May 25, 2022 · 3 comments
Open

dmlc parameter failed to parse small value. #7939

trivialfis opened this issue May 25, 2022 · 3 comments

Comments

@trivialfis
Copy link
Member

Falsifying example: test_hist(
param={'alpha': 0.0,
'colsample_bylevel': 1.0,
'colsample_bytree': 1.0,
'eta': 0.25,
'gamma': 1.1754943552013452e-38,
'lambda': 1.0,
'max_depth': 1,
'min_child_weight': 1.0,
'nthread': 1,
'seed': 0},
hist_param={'grow_policy': 'lossguide',
'max_bin': 2,
'max_depth': 1,
'max_leaves': 0},
num_rounds=1,
dataset=calif_housing,
self=<test_updaters.TestTreeMethod at 0x7f84b3093f90>,
)

Found in the tests of #7937 .

@hcho3
Copy link
Collaborator

hcho3 commented May 26, 2022

@trivialfis Should we pin hypothesis to <6.46.8 to unblock PRs?

@trivialfis
Copy link
Member Author

@hcho3 We can workaround it by using values like 1e-5 in the place of 0 as done in the linked PR. In longer term I think we need to fix it inside XGBoost (by replacing float with double or by other means).

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

No branches or pull requests

3 participants
@hcho3 @trivialfis and others