Repository navigation
[docs] unify language and make small improvements in some param descriptions - #6618
Conversation
| // descl2 = ``custom`` | ||
| // descl2 = **Note**: Not supported in CLI version | ||
| // descl2 = must be passed through parameters explicitly in the C API | ||
| // descl2 = **Note**: cannot be used in CLI version |
| // desc = controls smoothing applied to tree nodes | ||
| // desc = helps prevent overfitting on leaves with few samples | ||
| // desc = if set to zero, no smoothing is applied | ||
| // desc = if ``0.0`` (the default), no smoothing is applied |
There was a problem hiding this comment.
Similarly to monotone_penalty, feature_pre_filter and predict_disable_shape_check
| // desc = with quantized training, most arithmetics in the training process will be integer operations | ||
| // desc = gradient quantization can accelerate training, with little accuracy drop in most cases | ||
| // desc = **Note**: can be used only with ``device_type = cpu`` and ``device_type=cuda`` | ||
| // desc = **Note**: works only with ``cpu`` and ``cuda`` device type |
There was a problem hiding this comment.
"can be used only ..." for something that is not supposed to work in other environments at all, "Note: works only ..." for something that is supposed to work in other environments but currently doesn't work (not implemented yet).
jameslamb
left a comment
There was a problem hiding this comment.
Totally support these changes, thank you for this!
I left one small suggestion, but leaving an "Approve" review so you can merge this whenever you want. If you disagree with my suggestion, it's ok to leave this as-is... I don't feel strongly about it.
| // check = >0 | ||
| // desc = used only with ``cuda`` device type | ||
| // desc = number of GPUs | ||
| // desc = **Note**: can be used only in CUDA implementation |
There was a problem hiding this comment.
similar to the comment on gpu_use_dp, what do you think about combining two lines here? So we'd have:
// desc = **Note**: can be used only in CUDA implementation (``device_type="cuda"``)
|
Thanks very much for your attention to detail π |
|
This pull request has been automatically locked since there has not been any recent activity since it was closed. |
No description provided.