make style more like Google style
This commit is contained in:
parent
7761d562b1
commit
2dd03b1963
@ -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
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#ifndef _XGBOOST_DATA_H_
|
||||
#define _XGBOOST_DATA_H_
|
||||
#ifndef XGBOOST_DATA_H
|
||||
#define XGBOOST_DATA_H
|
||||
|
||||
/*!
|
||||
* \file xgboost_data.h
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#ifndef _XGBOOST_GBMBASE_H_
|
||||
#define _XGBOOST_GBMBASE_H_
|
||||
#ifndef XGBOOST_GBMBASE_H
|
||||
#define XGBOOST_GBMBASE_H
|
||||
|
||||
#include <omp.h>
|
||||
#include <cstring>
|
||||
|
||||
@ -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
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#ifndef _XGBOOST_REGDATA_H_
|
||||
#define _XGBOOST_REGDATA_H_
|
||||
#ifndef XGBOOST_REGDATA_H
|
||||
#define XGBOOST_REGDATA_H
|
||||
|
||||
/*!
|
||||
* \file xgboost_regdata.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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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 <vector>
|
||||
#include <algorithm>
|
||||
#include "xgboost_utils.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
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#ifndef _XGBOOST_STREAM_H_
|
||||
#define _XGBOOST_STREAM_H_
|
||||
#ifndef XGBOOST_STREAM_H
|
||||
#define XGBOOST_STREAM_H
|
||||
|
||||
#include <cstdio>
|
||||
/*!
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user