Unverified Commit 771bad8c authored by Mohamed Ziada's avatar Mohamed Ziada Committed by GitHub
Browse files

[docs] adjusted bagging_freq parameter description (#5698)

parent 814a01e4
...@@ -354,7 +354,7 @@ Learning Control Parameters ...@@ -354,7 +354,7 @@ Learning Control Parameters
- ``0`` means disable bagging; ``k`` means perform bagging at every ``k`` iteration. Every ``k``-th iteration, LightGBM will randomly select ``bagging_fraction * 100 %`` of the data to use for the next ``k`` iterations - ``0`` means disable bagging; ``k`` means perform bagging at every ``k`` iteration. Every ``k``-th iteration, LightGBM will randomly select ``bagging_fraction * 100 %`` of the data to use for the next ``k`` iterations
- **Note**: to enable bagging, ``bagging_fraction`` should be set to value smaller than ``1.0`` as well - **Note**: bagging is only effective when ``0.0 < bagging_fraction < 1.0``
- ``bagging_seed`` :raw-html:`<a id="bagging_seed" title="Permalink to this parameter" href="#bagging_seed">&#x1F517;&#xFE0E;</a>`, default = ``3``, type = int, aliases: ``bagging_fraction_seed`` - ``bagging_seed`` :raw-html:`<a id="bagging_seed" title="Permalink to this parameter" href="#bagging_seed">&#x1F517;&#xFE0E;</a>`, default = ``3``, type = int, aliases: ``bagging_fraction_seed``
......
...@@ -333,7 +333,7 @@ struct Config { ...@@ -333,7 +333,7 @@ struct Config {
// alias = subsample_freq // alias = subsample_freq
// desc = frequency for bagging // desc = frequency for bagging
// desc = ``0`` means disable bagging; ``k`` means perform bagging at every ``k`` iteration. Every ``k``-th iteration, LightGBM will randomly select ``bagging_fraction * 100 %`` of the data to use for the next ``k`` iterations // desc = ``0`` means disable bagging; ``k`` means perform bagging at every ``k`` iteration. Every ``k``-th iteration, LightGBM will randomly select ``bagging_fraction * 100 %`` of the data to use for the next ``k`` iterations
// desc = **Note**: to enable bagging, ``bagging_fraction`` should be set to value smaller than ``1.0`` as well // desc = **Note**: bagging is only effective when ``0.0 < bagging_fraction < 1.0``
int bagging_freq = 0; int bagging_freq = 0;
// alias = bagging_fraction_seed // alias = bagging_fraction_seed
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment