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
04d37f9b
Unverified
Commit
04d37f9b
authored
May 03, 2018
by
Guolin Ke
Committed by
GitHub
May 03, 2018
Browse files
fix bagging_freq checking
parent
0b75e144
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
src/io/config.cpp
src/io/config.cpp
+0
-1
No files found.
src/io/config.cpp
View file @
04d37f9b
...
...
@@ -437,7 +437,6 @@ void BoostingConfig::Set(const std::unordered_map<std::string, std::string>& par
CHECK
(
num_iterations
>=
0
);
GetInt
(
params
,
"bagging_seed"
,
&
bagging_seed
);
GetInt
(
params
,
"bagging_freq"
,
&
bagging_freq
);
CHECK
(
bagging_freq
>=
0
);
GetDouble
(
params
,
"bagging_fraction"
,
&
bagging_fraction
);
CHECK
(
bagging_fraction
>
0.0
f
&&
bagging_fraction
<=
1.0
f
);
GetDouble
(
params
,
"learning_rate"
,
&
learning_rate
);
...
...
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