diff --git a/booster/linear/xgboost_linear.hpp b/booster/linear/xgboost_linear.hpp index 90d79c0bb..eb76cf8d7 100644 --- a/booster/linear/xgboost_linear.hpp +++ b/booster/linear/xgboost_linear.hpp @@ -1,5 +1,5 @@ -#ifndef _XGBOOST_LINEAR_HPP_ -#define _XGBOOST_LINEAR_HPP_ +#ifndef XGBOOST_LINEAR_HPP +#define XGBOOST_LINEAR_HPP /*! * \file xgboost_linear.h * \brief Implementation of Linear booster, with L1/L2 regularization: Elastic Net diff --git a/booster/tree/xgboost_col_treemaker.hpp b/booster/tree/xgboost_col_treemaker.hpp index 4ec86caee..1205f4cca 100644 --- a/booster/tree/xgboost_col_treemaker.hpp +++ b/booster/tree/xgboost_col_treemaker.hpp @@ -1,5 +1,5 @@ -#ifndef _XGBOOST_COL_TREEMAKER_HPP_ -#define _XGBOOST_COL_TREEMAKER_HPP_ +#ifndef XGBOOST_COL_TREEMAKER_HPP +#define XGBOOST_COL_TREEMAKER_HPP /*! * \file xgboost_col_treemaker.hpp * \brief implementation of regression tree maker, diff --git a/booster/tree/xgboost_svdf_tree.hpp b/booster/tree/xgboost_svdf_tree.hpp index bc3ad430a..715a920b9 100644 --- a/booster/tree/xgboost_svdf_tree.hpp +++ b/booster/tree/xgboost_svdf_tree.hpp @@ -1,5 +1,5 @@ -#ifndef _XGBOOST_APEX_TREE_HPP_ -#define _XGBOOST_APEX_TREE_HPP_ +#ifndef XGBOOST_APEX_TREE_HPP +#define XGBOOST_APEX_TREE_HPP /*! * \file xgboost_svdf_tree.hpp * \brief implementation of regression tree constructor, with layerwise support diff --git a/booster/tree/xgboost_tree.hpp b/booster/tree/xgboost_tree.hpp index e6caa51ce..6bf79c4c6 100644 --- a/booster/tree/xgboost_tree.hpp +++ b/booster/tree/xgboost_tree.hpp @@ -1,5 +1,5 @@ -#ifndef _XGBOOST_TREE_HPP_ -#define _XGBOOST_TREE_HPP_ +#ifndef XGBOOST_TREE_HPP +#define XGBOOST_TREE_HPP /*! * \file xgboost_tree.hpp * \brief implementation of regression tree diff --git a/booster/tree/xgboost_tree_model.h b/booster/tree/xgboost_tree_model.h index efe986b36..712d46b36 100644 --- a/booster/tree/xgboost_tree_model.h +++ b/booster/tree/xgboost_tree_model.h @@ -1,5 +1,5 @@ -#ifndef _XGBOOST_TREE_MODEL_H_ -#define _XGBOOST_TREE_MODEL_H_ +#ifndef XGBOOST_TREE_MODEL_H +#define XGBOOST_TREE_MODEL_H /*! * \file xgboost_tree_model.h * \brief generic definition of model structure used in tree models diff --git a/booster/xgboost.h b/booster/xgboost.h index 0cf2b9e19..f688218f9 100644 --- a/booster/xgboost.h +++ b/booster/xgboost.h @@ -1,5 +1,5 @@ -#ifndef _XGBOOST_H_ -#define _XGBOOST_H_ +#ifndef XGBOOST_H +#define XGBOOST_H /*! * \file xgboost.h * \brief the general gradient boosting interface diff --git a/booster/xgboost_data.h b/booster/xgboost_data.h index 4165f2fc2..5bd95d48b 100644 --- a/booster/xgboost_data.h +++ b/booster/xgboost_data.h @@ -1,5 +1,5 @@ -#ifndef _XGBOOST_DATA_H_ -#define _XGBOOST_DATA_H_ +#ifndef XGBOOST_DATA_H +#define XGBOOST_DATA_H /*! * \file xgboost_data.h diff --git a/booster/xgboost_gbmbase.h b/booster/xgboost_gbmbase.h index 88334985d..5bee83c3b 100644 --- a/booster/xgboost_gbmbase.h +++ b/booster/xgboost_gbmbase.h @@ -1,5 +1,5 @@ -#ifndef _XGBOOST_GBMBASE_H_ -#define _XGBOOST_GBMBASE_H_ +#ifndef XGBOOST_GBMBASE_H +#define XGBOOST_GBMBASE_H #include #include diff --git a/regression/xgboost_reg.h b/regression/xgboost_reg.h index 7aeb856ca..ff7bc10c0 100644 --- a/regression/xgboost_reg.h +++ b/regression/xgboost_reg.h @@ -1,5 +1,5 @@ -#ifndef _XGBOOST_REG_H_ -#define _XGBOOST_REG_H_ +#ifndef XGBOOST_REG_H +#define XGBOOST_REG_H /*! * \file xgboost_reg.h * \brief class for gradient boosted regression diff --git a/regression/xgboost_regdata.h b/regression/xgboost_regdata.h index 2ef822f45..b2511c303 100644 --- a/regression/xgboost_regdata.h +++ b/regression/xgboost_regdata.h @@ -1,5 +1,5 @@ -#ifndef _XGBOOST_REGDATA_H_ -#define _XGBOOST_REGDATA_H_ +#ifndef XGBOOST_REGDATA_H +#define XGBOOST_REGDATA_H /*! * \file xgboost_regdata.h diff --git a/regression/xgboost_regeval.h b/regression/xgboost_regeval.h index e5b0ce791..b78d2c35d 100644 --- a/regression/xgboost_regeval.h +++ b/regression/xgboost_regeval.h @@ -1,5 +1,5 @@ -#ifndef _XGBOOST_REGEVAL_H_ -#define _XGBOOST_REGEVAL_H_ +#ifndef XGBOOST_REGEVAL_H +#define XGBOOST_REGEVAL_H /*! * \file xgboost_regeval.h * \brief evaluation metrics for regression and classification diff --git a/utils/xgboost_config.h b/utils/xgboost_config.h index 737f6f486..bcd58b504 100644 --- a/utils/xgboost_config.h +++ b/utils/xgboost_config.h @@ -1,5 +1,5 @@ -#ifndef _XGBOOST_CONFIG_H_ -#define _XGBOOST_CONFIG_H_ +#ifndef XGBOOST_CONFIG_H +#define XGBOOST_CONFIG_H /*! * \file xgboost_config.h * \brief helper class to load in configures from file diff --git a/utils/xgboost_matrix_csr.h b/utils/xgboost_matrix_csr.h index b000095da..aa47f6dbb 100644 --- a/utils/xgboost_matrix_csr.h +++ b/utils/xgboost_matrix_csr.h @@ -3,8 +3,8 @@ * \brief this file defines some easy to use STL based class for in memory sparse CSR matrix * \author Tianqi Chen: tianqi.tchen@gmail.com */ -#ifndef _XGBOOST_MATRIX_CSR_H_ -#define _XGBOOST_MATRIX_CSR_H_ +#ifndef XGBOOST_MATRIX_CSR_H +#define XGBOOST_MATRIX_CSR_H #include #include #include "xgboost_utils.h" diff --git a/utils/xgboost_random.h b/utils/xgboost_random.h index e7caef757..d2d7625a7 100644 --- a/utils/xgboost_random.h +++ b/utils/xgboost_random.h @@ -1,5 +1,5 @@ -#ifndef _XGBOOST_RANDOM_H_ -#define _XGBOOST_RANDOM_H_ +#ifndef XGBOOST_RANDOM_H +#define XGBOOST_RANDOM_H /*! * \file xgboost_random.h * \brief PRNG to support random number generation diff --git a/utils/xgboost_stream.h b/utils/xgboost_stream.h index 4596c6c36..7388e01c1 100644 --- a/utils/xgboost_stream.h +++ b/utils/xgboost_stream.h @@ -1,5 +1,5 @@ -#ifndef _XGBOOST_STREAM_H_ -#define _XGBOOST_STREAM_H_ +#ifndef XGBOOST_STREAM_H +#define XGBOOST_STREAM_H #include /*! diff --git a/utils/xgboost_utils.h b/utils/xgboost_utils.h index 26f59ea91..d50b9201f 100644 --- a/utils/xgboost_utils.h +++ b/utils/xgboost_utils.h @@ -1,5 +1,5 @@ -#ifndef _XGBOOST_UTILS_H_ -#define _XGBOOST_UTILS_H_ +#ifndef XGBOOST_UTILS_H +#define XGBOOST_UTILS_H /*! * \file xgboost_utils.h * \brief simple utils to support the code