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
[docs] fixing max_depth param description #1879
Conversation
@KOLANICH Thanks for your contribution! Please follow this procedure to update parameter description. |
BTW, why not to do it on CI automatically? |
Because after generating anything on CI side it should be pushed back to GitHub. |
|
It's still insecure. Also, It produces additional mess in the repo. Imagine: every commit is duplicated by the CI.
Only params description is generated from the source. |
@KOLANICH Remembering your position about the CLA #1873 (comment), we are taking over your PRs, if you don't mind.
Can you please clarify your comment?
|
I just wonder why a signed int is used for a parameter which semantics is to be a number >= 0. Shouldn't an unsigned int be used for that? |
Ah, got it, thanks! |
But 0 is also "no limit". |
You are right! BTW, at present, all params are signed values, even |
* PR #1879 * Update docs with parameter_generator.py * Update wrapper doc for sklearn
Proposed changes were made in #2155. |
https://github.com/Microsoft/LightGBM/blob/59f10453dc4a3841339702524124063fa5db6870/src/treelearner/serial_tree_learner.cpp#L351
BTW, should it be unsigned?