"...git@developer.sourcefind.cn:tianlh/lightgbm-dcu.git" did not exist on "d38ada731d88477557aa3017d9258018f8730170"
Unverified Commit 53137e25 authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

fixed cpplint error about namespace using-directives (#2836)

parent ad83e8f4
......@@ -13,10 +13,10 @@
#include <LightGBM/json11.hpp>
using namespace json11;
namespace LightGBM {
using json11::Json;
/*! \brief forward declaration */
class Tree;
class Dataset;
......
......@@ -24,10 +24,10 @@
#include <LightGBM/json11.hpp>
#include "score_updater.hpp"
using namespace json11;
namespace LightGBM {
using json11::Json;
/*!
* \brief GBDT algorithm implementation. including Training, prediction, bagging.
*/
......
......@@ -13,10 +13,10 @@
#include <LightGBM/json11.hpp>
using namespace json11;
namespace LightGBM {
using json11::Json;
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) {
label_idx_ = 0;
......
......@@ -34,10 +34,10 @@
#include <boost/compute/container/vector.hpp>
#include <boost/align/aligned_allocator.hpp>
using namespace json11;
namespace LightGBM {
using json11::Json;
/*!
* \brief GPU-based parallel learning algorithm.
*/
......
......@@ -30,9 +30,10 @@
#include <boost/align/aligned_allocator.hpp>
#endif
using namespace json11;
namespace LightGBM {
using json11::Json;
/*! \brief forward declaration */
class CostEfficientGradientBoosting;
/*!
......
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