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
53137e25
"...git@developer.sourcefind.cn:tianlh/lightgbm-dcu.git" did not exist on "92aa07b4b827d020d9aeeeddec0b3416042c9d2a"
Unverified
Commit
53137e25
authored
Feb 28, 2020
by
Nikita Titov
Committed by
GitHub
Feb 28, 2020
Browse files
fixed cpplint error about namespace using-directives (#2836)
parent
ad83e8f4
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
10 deletions
+11
-10
include/LightGBM/tree_learner.h
include/LightGBM/tree_learner.h
+2
-2
src/boosting/gbdt.h
src/boosting/gbdt.h
+2
-2
src/io/dataset_loader.cpp
src/io/dataset_loader.cpp
+2
-2
src/treelearner/gpu_tree_learner.h
src/treelearner/gpu_tree_learner.h
+2
-2
src/treelearner/serial_tree_learner.h
src/treelearner/serial_tree_learner.h
+3
-2
No files found.
include/LightGBM/tree_learner.h
View file @
53137e25
...
@@ -13,10 +13,10 @@
...
@@ -13,10 +13,10 @@
#include <LightGBM/json11.hpp>
#include <LightGBM/json11.hpp>
using
namespace
json11
;
namespace
LightGBM
{
namespace
LightGBM
{
using
json11
::
Json
;
/*! \brief forward declaration */
/*! \brief forward declaration */
class
Tree
;
class
Tree
;
class
Dataset
;
class
Dataset
;
...
...
src/boosting/gbdt.h
View file @
53137e25
...
@@ -24,10 +24,10 @@
...
@@ -24,10 +24,10 @@
#include <LightGBM/json11.hpp>
#include <LightGBM/json11.hpp>
#include "score_updater.hpp"
#include "score_updater.hpp"
using
namespace
json11
;
namespace
LightGBM
{
namespace
LightGBM
{
using
json11
::
Json
;
/*!
/*!
* \brief GBDT algorithm implementation. including Training, prediction, bagging.
* \brief GBDT algorithm implementation. including Training, prediction, bagging.
*/
*/
...
...
src/io/dataset_loader.cpp
View file @
53137e25
...
@@ -13,10 +13,10 @@
...
@@ -13,10 +13,10 @@
#include <LightGBM/json11.hpp>
#include <LightGBM/json11.hpp>
using
namespace
json11
;
namespace
LightGBM
{
namespace
LightGBM
{
using
json11
::
Json
;
DatasetLoader
::
DatasetLoader
(
const
Config
&
io_config
,
const
PredictFunction
&
predict_fun
,
int
num_class
,
const
char
*
filename
)
DatasetLoader
::
DatasetLoader
(
const
Config
&
io_config
,
const
PredictFunction
&
predict_fun
,
int
num_class
,
const
char
*
filename
)
:
config_
(
io_config
),
random_
(
config_
.
data_random_seed
),
predict_fun_
(
predict_fun
),
num_class_
(
num_class
)
{
:
config_
(
io_config
),
random_
(
config_
.
data_random_seed
),
predict_fun_
(
predict_fun
),
num_class_
(
num_class
)
{
label_idx_
=
0
;
label_idx_
=
0
;
...
...
src/treelearner/gpu_tree_learner.h
View file @
53137e25
...
@@ -34,10 +34,10 @@
...
@@ -34,10 +34,10 @@
#include <boost/compute/container/vector.hpp>
#include <boost/compute/container/vector.hpp>
#include <boost/align/aligned_allocator.hpp>
#include <boost/align/aligned_allocator.hpp>
using
namespace
json11
;
namespace
LightGBM
{
namespace
LightGBM
{
using
json11
::
Json
;
/*!
/*!
* \brief GPU-based parallel learning algorithm.
* \brief GPU-based parallel learning algorithm.
*/
*/
...
...
src/treelearner/serial_tree_learner.h
View file @
53137e25
...
@@ -30,9 +30,10 @@
...
@@ -30,9 +30,10 @@
#include <boost/align/aligned_allocator.hpp>
#include <boost/align/aligned_allocator.hpp>
#endif
#endif
using
namespace
json11
;
namespace
LightGBM
{
namespace
LightGBM
{
using
json11
::
Json
;
/*! \brief forward declaration */
/*! \brief forward declaration */
class
CostEfficientGradientBoosting
;
class
CostEfficientGradientBoosting
;
/*!
/*!
...
...
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