Commit 25b3de36 authored by Nikita Titov's avatar Nikita Titov Committed by Qiwei Ye
Browse files

fixed seed param default value and description (#1872)

parent eb06c74b
......@@ -175,11 +175,13 @@ Core Parameters
- **Note**: refer to `Installation Guide <./Installation-Guide.rst#build-gpu-version>`__ to build LightGBM with GPU support
- ``seed`` :raw-html:`<a id="seed" title="Permalink to this parameter" href="#seed">&#x1F517;&#xFE0E;</a>`, default = ``0``, type = int, aliases: ``random_seed``, ``random_state``
- ``seed`` :raw-html:`<a id="seed" title="Permalink to this parameter" href="#seed">&#x1F517;&#xFE0E;</a>`, default = ``None``, type = int, aliases: ``random_seed``, ``random_state``
- this seed is used to generate other seeds, e.g. ``data_random_seed``, ``feature_fraction_seed``
- this seed is used to generate other seeds, e.g. ``data_random_seed``, ``feature_fraction_seed``, etc.
- will be overridden, if you set other seeds
- by default, this seed is unused in favor of default values of other seeds
- this seed has lower priority in comparison with other seeds, which means that it will be overridden, if you set other seeds explicitly
Learning Control Parameters
---------------------------
......
......@@ -197,8 +197,10 @@ public:
// [doc-only]
// alias = random_seed, random_state
// desc = this seed is used to generate other seeds, e.g. ``data_random_seed``, ``feature_fraction_seed``
// desc = will be overridden, if you set other seeds
// default = None
// desc = this seed is used to generate other seeds, e.g. ``data_random_seed``, ``feature_fraction_seed``, etc.
// desc = by default, this seed is unused in favor of default values of other seeds
// desc = this seed has lower priority in comparison with other seeds, which means that it will be overridden, if you set other seeds explicitly
int seed = 0;
#pragma endregion
......
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