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
2e801967
Commit
2e801967
authored
Dec 31, 2017
by
Nikita Titov
Committed by
Guolin Ke
Dec 31, 2017
Browse files
fixed typos in checks (#1158)
parent
968a353f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/io/config.cpp
src/io/config.cpp
+2
-2
No files found.
src/io/config.cpp
View file @
2e801967
...
...
@@ -439,8 +439,8 @@ void BoostingConfig::Set(const std::unordered_map<std::string, std::string>& par
GetDouble
(
params
,
"top_rate"
,
&
top_rate
);
GetDouble
(
params
,
"other_rate"
,
&
other_rate
);
CHECK
(
top_rate
>
0
);
CHECK
(
top
_rate
>
0
);
CHECK
(
top_rate
+
top
_rate
<=
1.0
);
CHECK
(
other
_rate
>
0
);
CHECK
(
top_rate
+
other
_rate
<=
1.0
);
GetBool
(
params
,
"boost_from_average"
,
&
boost_from_average
);
GetDeviceType
(
params
,
&
device_type
);
GetTreeLearnerType
(
params
,
&
tree_learner_type
);
...
...
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