[REFACTOR] cleanup structure
This commit is contained in:
parent
5ed4dc4f60
commit
d530e0c14f
4
.gitignore
vendored
4
.gitignore
vendored
@ -51,7 +51,6 @@ Debug
|
|||||||
./xgboost
|
./xgboost
|
||||||
./xgboost.mpi
|
./xgboost.mpi
|
||||||
./xgboost.mock
|
./xgboost.mock
|
||||||
rabit
|
|
||||||
#.Rbuildignore
|
#.Rbuildignore
|
||||||
R-package.Rproj
|
R-package.Rproj
|
||||||
*.cache*
|
*.cache*
|
||||||
@ -65,9 +64,10 @@ java/xgboost4j-demo/data/
|
|||||||
java/xgboost4j-demo/tmp/
|
java/xgboost4j-demo/tmp/
|
||||||
java/xgboost4j-demo/model/
|
java/xgboost4j-demo/model/
|
||||||
nb-configuration*
|
nb-configuration*
|
||||||
dmlc-core
|
|
||||||
# Eclipse
|
# Eclipse
|
||||||
.project
|
.project
|
||||||
.cproject
|
.cproject
|
||||||
.pydevproject
|
.pydevproject
|
||||||
.settings/
|
.settings/
|
||||||
|
build
|
||||||
|
|
||||||
|
|||||||
6
.gitmodules
vendored
Normal file
6
.gitmodules
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[submodule "dmlc-core"]
|
||||||
|
path = dmlc-core
|
||||||
|
url = https://github.com/dmlc/dmlc-core
|
||||||
|
[submodule "rabit"]
|
||||||
|
path = rabit
|
||||||
|
url = https://github.com/dmlc/rabit
|
||||||
@ -11,7 +11,7 @@ An optimized general purpose gradient boosting library. The library is paralleli
|
|||||||
|
|
||||||
It implements machine learning algorithms under the [Gradient Boosting](https://en.wikipedia.org/wiki/Gradient_boosting) framework, including [Generalized Linear Model](https://en.wikipedia.org/wiki/Generalized_linear_model) (GLM) and [Gradient Boosted Decision Trees](https://en.wikipedia.org/wiki/Gradient_boosting#Gradient_tree_boosting) (GBDT). XGBoost can also be [distributed](#features) and scale to Terascale data
|
It implements machine learning algorithms under the [Gradient Boosting](https://en.wikipedia.org/wiki/Gradient_boosting) framework, including [Generalized Linear Model](https://en.wikipedia.org/wiki/Generalized_linear_model) (GLM) and [Gradient Boosted Decision Trees](https://en.wikipedia.org/wiki/Gradient_boosting#Gradient_tree_boosting) (GBDT). XGBoost can also be [distributed](#features) and scale to Terascale data
|
||||||
|
|
||||||
XGBoost is part of [Distributed Machine Learning Common](http://dmlc.github.io/) <img src=https://avatars2.githubusercontent.com/u/11508361?v=3&s=20> projects
|
XGBoost is part of [Distributed Machine Learning Common](http://dmlc.github.io/) projects
|
||||||
|
|
||||||
Contents
|
Contents
|
||||||
--------
|
--------
|
||||||
@ -68,7 +68,6 @@ Bug Reporting
|
|||||||
|
|
||||||
Contributing to XGBoost
|
Contributing to XGBoost
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
XGBoost has been developed and used by a group of active community members. Everyone is more than welcome to contribute. It is a way to make the project better and more accessible to more users.
|
XGBoost has been developed and used by a group of active community members. Everyone is more than welcome to contribute. It is a way to make the project better and more accessible to more users.
|
||||||
* Check out [Feature Wish List](https://github.com/dmlc/xgboost/labels/Wish-List) to see what can be improved, or open an issue if you want something.
|
* Check out [Feature Wish List](https://github.com/dmlc/xgboost/labels/Wish-List) to see what can be improved, or open an issue if you want something.
|
||||||
* Contribute to the [documents and examples](https://github.com/dmlc/xgboost/blob/master/doc/) to share your experience with other users.
|
* Contribute to the [documents and examples](https://github.com/dmlc/xgboost/blob/master/doc/) to share your experience with other users.
|
||||||
@ -78,7 +77,3 @@ License
|
|||||||
-------
|
-------
|
||||||
© Contributors, 2015. Licensed under an [Apache-2](https://github.com/dmlc/xgboost/blob/master/LICENSE) license.
|
© Contributors, 2015. Licensed under an [Apache-2](https://github.com/dmlc/xgboost/blob/master/LICENSE) license.
|
||||||
|
|
||||||
XGBoost in Graphlab Create
|
|
||||||
--------------------------
|
|
||||||
* XGBoost is adopted as part of boosted tree toolkit in Graphlab Create (GLC). Graphlab Create is a powerful python toolkit that allows you to do data manipulation, graph processing, hyper-parameter search, and visualization of TeraBytes scale data in one framework. Try the [Graphlab Create](http://graphlab.com/products/create/quick-start-guide.html)
|
|
||||||
* Nice [blogpost](http://blog.graphlab.com/using-gradient-boosted-trees-to-predict-bike-sharing-demand) by Jay Gu about using GLC boosted tree to solve kaggle bike sharing challenge:
|
|
||||||
|
|||||||
36
appveyor.yml
36
appveyor.yml
@ -1,36 +0,0 @@
|
|||||||
environment:
|
|
||||||
global:
|
|
||||||
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\python-appveyor-demo\\appveyor\\run_with_env.cmd"
|
|
||||||
DISABLE_OPENMP: 1
|
|
||||||
VisualStudioVersion: 12.0
|
|
||||||
|
|
||||||
matrix:
|
|
||||||
- PYTHON: "C:\\Python27-x64"
|
|
||||||
PYTHON_VERSION: "2.7.x" # currently 2.7.9
|
|
||||||
PYTHON_ARCH: "64"
|
|
||||||
|
|
||||||
- PYTHON: "C:\\Python33-x64"
|
|
||||||
PYTHON_VERSION: "3.3.x" # currently 3.3.5
|
|
||||||
PYTHON_ARCH: "64"
|
|
||||||
|
|
||||||
platform:
|
|
||||||
- x64
|
|
||||||
|
|
||||||
configuration:
|
|
||||||
- Release
|
|
||||||
|
|
||||||
install:
|
|
||||||
- cmd: git clone https://github.com/ogrisel/python-appveyor-demo
|
|
||||||
- ECHO "Filesystem root:"
|
|
||||||
- ps: "ls \"C:/\""
|
|
||||||
|
|
||||||
- ECHO "Installed SDKs:"
|
|
||||||
- ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\""
|
|
||||||
|
|
||||||
- ps: python-appveyor-demo\appveyor\install.ps1
|
|
||||||
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
|
|
||||||
- "python --version"
|
|
||||||
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
|
|
||||||
|
|
||||||
build: off
|
|
||||||
#project: windows\xgboost.sln
|
|
||||||
1
dmlc-core
Submodule
1
dmlc-core
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 4b951c0378386b7f4d9eae72be2ecd3b9c816afe
|
||||||
15
include/xgboost/base.h
Normal file
15
include/xgboost/base.h
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
/*!
|
||||||
|
* Copyright (c) 2015 by Contributors
|
||||||
|
* \file base.h
|
||||||
|
* \brief defines configuration macros of xgboost
|
||||||
|
*/
|
||||||
|
#ifndef XGBOOST_BASE_H_
|
||||||
|
#define XGBOOST_BASE_H_
|
||||||
|
|
||||||
|
#include <dmlc/base.h>
|
||||||
|
|
||||||
|
namespace xgboost {
|
||||||
|
|
||||||
|
|
||||||
|
} // namespace xgboost
|
||||||
|
#endif // XGBOOST_BASE_H_
|
||||||
@ -1,12 +1,11 @@
|
|||||||
/*!
|
/*!
|
||||||
* Copyright (c) 2014 by Contributors
|
* Copyright (c) 2015 by Contributors
|
||||||
* \file xgboost_wrapper.h
|
* \file c_api.h
|
||||||
* \author Tianqi Chen
|
* \author Tianqi Chen
|
||||||
* \brief a C style wrapper of xgboost
|
* \brief C Style API of XGBoost, used to interfacing with other languages.
|
||||||
* can be used to create wrapper of other languages
|
|
||||||
*/
|
*/
|
||||||
#ifndef XGBOOST_WRAPPER_H_
|
#ifndef XGBOOST_C_API_H_
|
||||||
#define XGBOOST_WRAPPER_H_
|
#define XGBOOST_C_API_H_
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
#define XGB_EXTERN_C extern "C"
|
#define XGB_EXTERN_C extern "C"
|
||||||
@ -351,4 +350,4 @@ XGB_DLL int XGBoosterDumpModelWithFeatures(BoosterHandle handle,
|
|||||||
bst_ulong *len,
|
bst_ulong *len,
|
||||||
const char ***out_models);
|
const char ***out_models);
|
||||||
|
|
||||||
#endif // XGBOOST_WRAPPER_H_
|
#endif // XGBOOST_C_API_H_
|
||||||
8
include/xgboost/data.h
Normal file
8
include/xgboost/data.h
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
/*!
|
||||||
|
* Copyright (c) 2014 by Contributors
|
||||||
|
* \file data.h
|
||||||
|
* \brief the input data structure for gradient boosting
|
||||||
|
* \author Tianqi Chen
|
||||||
|
*/
|
||||||
|
#ifndef XGBOOST_DATA_H_
|
||||||
|
#define XGBOOST_DATA_H_
|
||||||
1
rabit
Submodule
1
rabit
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit bed63208af736c4aa289b629fbe5396bd9f513d9
|
||||||
2
src/c_api.cc
Normal file
2
src/c_api.cc
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#include <xgboost/c_api.h>
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user