Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
25b3de36
Commit
25b3de36
authored
Nov 25, 2018
by
Nikita Titov
Committed by
Qiwei Ye
Nov 25, 2018
Browse files
fixed seed param default value and description (#1872)
parent
eb06c74b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
docs/Parameters.rst
docs/Parameters.rst
+5
-3
include/LightGBM/config.h
include/LightGBM/config.h
+4
-2
No files found.
docs/Parameters.rst
View file @
25b3de36
...
@@ -175,11 +175,13 @@ Core Parameters
...
@@ -175,11 +175,13 @@ Core Parameters
- **Note**: refer to `Installation Guide <./Installation-Guide.rst#build-gpu-version>`__ to build LightGBM with GPU support
- **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">🔗︎</a>`, default = ``
0
``, type = int, aliases: ``random_seed``, ``random_state``
- ``seed`` :raw-html:`<a id="seed" title="Permalink to this parameter" href="#seed">🔗︎</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
Learning Control Parameters
---------------------------
---------------------------
...
...
include/LightGBM/config.h
View file @
25b3de36
...
@@ -197,8 +197,10 @@ public:
...
@@ -197,8 +197,10 @@ public:
// [doc-only]
// [doc-only]
// alias = random_seed, random_state
// alias = random_seed, random_state
// desc = this seed is used to generate other seeds, e.g. ``data_random_seed``, ``feature_fraction_seed``
// default = None
// desc = will be overridden, if you set other seeds
// 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
;
int
seed
=
0
;
#pragma endregion
#pragma endregion
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment