Skip to content

Commit

Permalink
[docs] update description of deterministic parameter (#4027)
Browse files Browse the repository at this point in the history
* update description of deterministic parameter to require using with force_row_wise or force_col_wise

* Update include/LightGBM/config.h

Co-authored-by: Nikita Titov <[email protected]>

* update docs

Co-authored-by: Nikita Titov <[email protected]>
  • Loading branch information
shiyu1994 and StrikerRUS authored Mar 4, 2021
1 parent 87c37bf commit 19f3577
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/Parameters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,8 @@ Core Parameters

- **Note**: setting this to ``true`` may slow down the training

- **Note**: to avoid potential instability due to numerical issues, please set ``force_col_wise=true`` or ``force_row_wise=true`` when setting ``deterministic=true``

Learning Control Parameters
---------------------------

Expand Down
1 change: 1 addition & 0 deletions include/LightGBM/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ struct Config {
// desc = when you use the different seeds, different LightGBM versions, the binaries compiled by different compilers, or in different systems, the results are expected to be different
// desc = you can `raise issues <https://github.com/microsoft/LightGBM/issues>`__ in LightGBM GitHub repo when you meet the unstable results
// desc = **Note**: setting this to ``true`` may slow down the training
// desc = **Note**: to avoid potential instability due to numerical issues, please set ``force_col_wise=true`` or ``force_row_wise=true`` when setting ``deterministic=true``
bool deterministic = false;

#pragma endregion
Expand Down

0 comments on commit 19f3577

Please sign in to comment.