-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Check max_bin, etc. match config when using binary #3592
Check max_bin, etc. match config when using binary #3592
Conversation
Thank you @cyfdecyf |
@guolinke What about other Dataset params from https://lightgbm.readthedocs.io/en/latest/Parameters.html#dataset-parameters, e.g. |
@StrikerRUS yes, thank you. |
@guolinke OK. I will add checking for those parameters too. |
I think there are more params in Also, please refer to Line 186 in 3e8e24b
|
I focused only on checking parameters that are stored in LightGBM/include/LightGBM/dataset.h Line 636 in 3e8e24b
What's the desired way to check parameters that's not in
|
@cyfdecyf yes, I think only check the stored parameter in the Dataset binary object is enough. |
@guolinke I've already added checking for I've checked parameters listed in https://lightgbm.readthedocs.io/en/latest/Parameters.html#dataset-parameters against private members in |
current implementation looks good to me. ping @StrikerRUS to confirm. |
OK, I agree! Thanks a lot @cyfdecyf for contribution! |
This pull request has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this. |
To avoid binary file with non-matching parameters from being used.