diff --git a/old_src/tree/model.h b/include/xgboost/tree_model.h similarity index 100% rename from old_src/tree/model.h rename to include/xgboost/tree_model.h diff --git a/old_src/utils/group_data.h b/src/common/group_data.h similarity index 94% rename from old_src/utils/group_data.h rename to src/common/group_data.h index 31f9c3a50..eda3e5e25 100644 --- a/old_src/utils/group_data.h +++ b/src/common/group_data.h @@ -11,13 +11,13 @@ * The major algorithm is a two pass linear scan algorithm that requires two pass scan over the data * \author Tianqi Chen */ -#ifndef XGBOOST_UTILS_GROUP_DATA_H_ -#define XGBOOST_UTILS_GROUP_DATA_H_ +#ifndef XGBOOST_COMMON_GROUP_DATA_H_ +#define XGBOOST_COMMON_GROUP_DATA_H_ #include namespace xgboost { -namespace utils { +namespace common { /*! * \brief multi-thread version of group builder * \tparam ValueType type of entries in the sparse matrix @@ -105,10 +105,10 @@ struct ParallelGroupBuilder { /*! \brief index of nonzero entries in each row */ std::vector &data; /*! \brief thread local data structure */ - std::vector< std::vector > &thread_rptr; + std::vector > &thread_rptr; /*! \brief local temp thread ptr, use this if not specified by the constructor */ - std::vector< std::vector > tmp_thread_rptr; + std::vector > tmp_thread_rptr; }; -} // namespace utils +} // namespace common } // namespace xgboost #endif // XGBOOST_UTILS_GROUP_DATA_H_