make style more like Google style

This commit is contained in:
tqchen 2014-03-02 13:30:24 -08:00 committed by tqchen
parent 7761d562b1
commit 2dd03b1963
16 changed files with 32 additions and 32 deletions

View File

@ -1,5 +1,5 @@
#ifndef _XGBOOST_LINEAR_HPP_ #ifndef XGBOOST_LINEAR_HPP
#define _XGBOOST_LINEAR_HPP_ #define XGBOOST_LINEAR_HPP
/*! /*!
* \file xgboost_linear.h * \file xgboost_linear.h
* \brief Implementation of Linear booster, with L1/L2 regularization: Elastic Net * \brief Implementation of Linear booster, with L1/L2 regularization: Elastic Net

View File

@ -1,5 +1,5 @@
#ifndef _XGBOOST_COL_TREEMAKER_HPP_ #ifndef XGBOOST_COL_TREEMAKER_HPP
#define _XGBOOST_COL_TREEMAKER_HPP_ #define XGBOOST_COL_TREEMAKER_HPP
/*! /*!
* \file xgboost_col_treemaker.hpp * \file xgboost_col_treemaker.hpp
* \brief implementation of regression tree maker, * \brief implementation of regression tree maker,

View File

@ -1,5 +1,5 @@
#ifndef _XGBOOST_APEX_TREE_HPP_ #ifndef XGBOOST_APEX_TREE_HPP
#define _XGBOOST_APEX_TREE_HPP_ #define XGBOOST_APEX_TREE_HPP
/*! /*!
* \file xgboost_svdf_tree.hpp * \file xgboost_svdf_tree.hpp
* \brief implementation of regression tree constructor, with layerwise support * \brief implementation of regression tree constructor, with layerwise support

View File

@ -1,5 +1,5 @@
#ifndef _XGBOOST_TREE_HPP_ #ifndef XGBOOST_TREE_HPP
#define _XGBOOST_TREE_HPP_ #define XGBOOST_TREE_HPP
/*! /*!
* \file xgboost_tree.hpp * \file xgboost_tree.hpp
* \brief implementation of regression tree * \brief implementation of regression tree

View File

@ -1,5 +1,5 @@
#ifndef _XGBOOST_TREE_MODEL_H_ #ifndef XGBOOST_TREE_MODEL_H
#define _XGBOOST_TREE_MODEL_H_ #define XGBOOST_TREE_MODEL_H
/*! /*!
* \file xgboost_tree_model.h * \file xgboost_tree_model.h
* \brief generic definition of model structure used in tree models * \brief generic definition of model structure used in tree models

View File

@ -1,5 +1,5 @@
#ifndef _XGBOOST_H_ #ifndef XGBOOST_H
#define _XGBOOST_H_ #define XGBOOST_H
/*! /*!
* \file xgboost.h * \file xgboost.h
* \brief the general gradient boosting interface * \brief the general gradient boosting interface

View File

@ -1,5 +1,5 @@
#ifndef _XGBOOST_DATA_H_ #ifndef XGBOOST_DATA_H
#define _XGBOOST_DATA_H_ #define XGBOOST_DATA_H
/*! /*!
* \file xgboost_data.h * \file xgboost_data.h

View File

@ -1,5 +1,5 @@
#ifndef _XGBOOST_GBMBASE_H_ #ifndef XGBOOST_GBMBASE_H
#define _XGBOOST_GBMBASE_H_ #define XGBOOST_GBMBASE_H
#include <omp.h> #include <omp.h>
#include <cstring> #include <cstring>

View File

@ -1,5 +1,5 @@
#ifndef _XGBOOST_REG_H_ #ifndef XGBOOST_REG_H
#define _XGBOOST_REG_H_ #define XGBOOST_REG_H
/*! /*!
* \file xgboost_reg.h * \file xgboost_reg.h
* \brief class for gradient boosted regression * \brief class for gradient boosted regression

View File

@ -1,5 +1,5 @@
#ifndef _XGBOOST_REGDATA_H_ #ifndef XGBOOST_REGDATA_H
#define _XGBOOST_REGDATA_H_ #define XGBOOST_REGDATA_H
/*! /*!
* \file xgboost_regdata.h * \file xgboost_regdata.h

View File

@ -1,5 +1,5 @@
#ifndef _XGBOOST_REGEVAL_H_ #ifndef XGBOOST_REGEVAL_H
#define _XGBOOST_REGEVAL_H_ #define XGBOOST_REGEVAL_H
/*! /*!
* \file xgboost_regeval.h * \file xgboost_regeval.h
* \brief evaluation metrics for regression and classification * \brief evaluation metrics for regression and classification

View File

@ -1,5 +1,5 @@
#ifndef _XGBOOST_CONFIG_H_ #ifndef XGBOOST_CONFIG_H
#define _XGBOOST_CONFIG_H_ #define XGBOOST_CONFIG_H
/*! /*!
* \file xgboost_config.h * \file xgboost_config.h
* \brief helper class to load in configures from file * \brief helper class to load in configures from file

View File

@ -3,8 +3,8 @@
* \brief this file defines some easy to use STL based class for in memory sparse CSR matrix * \brief this file defines some easy to use STL based class for in memory sparse CSR matrix
* \author Tianqi Chen: tianqi.tchen@gmail.com * \author Tianqi Chen: tianqi.tchen@gmail.com
*/ */
#ifndef _XGBOOST_MATRIX_CSR_H_ #ifndef XGBOOST_MATRIX_CSR_H
#define _XGBOOST_MATRIX_CSR_H_ #define XGBOOST_MATRIX_CSR_H
#include <vector> #include <vector>
#include <algorithm> #include <algorithm>
#include "xgboost_utils.h" #include "xgboost_utils.h"

View File

@ -1,5 +1,5 @@
#ifndef _XGBOOST_RANDOM_H_ #ifndef XGBOOST_RANDOM_H
#define _XGBOOST_RANDOM_H_ #define XGBOOST_RANDOM_H
/*! /*!
* \file xgboost_random.h * \file xgboost_random.h
* \brief PRNG to support random number generation * \brief PRNG to support random number generation

View File

@ -1,5 +1,5 @@
#ifndef _XGBOOST_STREAM_H_ #ifndef XGBOOST_STREAM_H
#define _XGBOOST_STREAM_H_ #define XGBOOST_STREAM_H
#include <cstdio> #include <cstdio>
/*! /*!

View File

@ -1,5 +1,5 @@
#ifndef _XGBOOST_UTILS_H_ #ifndef XGBOOST_UTILS_H
#define _XGBOOST_UTILS_H_ #define XGBOOST_UTILS_H
/*! /*!
* \file xgboost_utils.h * \file xgboost_utils.h
* \brief simple utils to support the code * \brief simple utils to support the code