This commit is contained in:
tqchen 2014-08-22 19:52:43 -07:00
parent ce5b776bdc
commit 104fced9c3
4 changed files with 11 additions and 12 deletions

View File

@ -1,4 +1,4 @@
Change Log of Versions Change Log
===== =====
xgboost-0.1 xgboost-0.1
@ -14,8 +14,8 @@ xgboost-0.2x
xgboost-unity xgboost-unity
===== =====
* Faster tree construction module * Faster tree construction module
- Allows subsample columns as well during tree construction - Allows subsample columns during tree construction via ```bst:col_samplebytree=ratio```
* Support for boosting from initial predictions * Support for boosting from initial predictions
* Experimental version of LambdaRank * Experimental version of LambdaRank
* Linear booster is now parallelized, using parallel coordinated descent. * Linear booster is now parallelized, using parallel coordinated descent.
* Add [Code Guide](src/README.md) for customizing objective function and * Add [Code Guide](src/README.md) for customizing objective function and evaluation

View File

@ -21,14 +21,6 @@ Features
* Layout of gradient boosting algorithm to support user defined objective * Layout of gradient boosting algorithm to support user defined objective
* Python interface, works with numpy and scipy.sparse matrix * Python interface, works with numpy and scipy.sparse matrix
Version
======
* This version is named xgboost-unity, the code has been refactored from 0.2x to be cleaner and more flexibility
* This version of xgboost is not compatible with 0.2x, due to huge amount of changes in code structure
- This means the model and buffer file of previous version can not be loaded in xgboost-unity
* For legacy 0.2x code, refer to [Here](https://github.com/tqchen/xgboost/releases/tag/v0.22)
* Change log in [CHANGES.md](CHANGES.md)
Build Build
====== ======
* Simply type make * Simply type make
@ -40,3 +32,10 @@ Build
- In principle, you can put src/xgboost.cpp and src/io/io.cpp into the project, and build xgboost. - In principle, you can put src/xgboost.cpp and src/io/io.cpp into the project, and build xgboost.
- For python module, you need python/xgboost_wrapper.cpp and src/io/io.cpp to build a dll. - For python module, you need python/xgboost_wrapper.cpp and src/io/io.cpp to build a dll.
Version
======
* This version is named xgboost-unity, the code has been refactored from 0.2x to be cleaner and more flexibility
* This version of xgboost is not compatible with 0.2x, due to huge amount of changes in code structure
- This means the model and buffer file of previous version can not be loaded in xgboost-unity
* For legacy 0.2x code, refer to [Here](https://github.com/tqchen/xgboost/releases/tag/v0.22)
* Change log in [CHANGES.md](CHANGES.md)

View File

@ -1,5 +1,6 @@
Coding Guide Coding Guide
====== ======
This file is intended to be notes about code structure in xgboost
Project Logical Layout Project Logical Layout
======= =======

View File

@ -43,7 +43,6 @@ inline IEvaluator* CreateEvaluator(const char *name) {
if (!strncmp(name, "ams@", 4)) return new EvalAMS(name); if (!strncmp(name, "ams@", 4)) return new EvalAMS(name);
if (!strncmp(name, "pre@", 4)) return new EvalPrecision(name); if (!strncmp(name, "pre@", 4)) return new EvalPrecision(name);
if (!strncmp(name, "pratio@", 7)) return new EvalPrecisionRatio(name); if (!strncmp(name, "pratio@", 7)) return new EvalPrecisionRatio(name);
if (!strncmp(name, "apratio@", 8)) return new EvalPrecisionRatio(name);
if (!strncmp(name, "map", 3)) return new EvalMAP(name); if (!strncmp(name, "map", 3)) return new EvalMAP(name);
if (!strncmp(name, "ndcg", 3)) return new EvalNDCG(name); if (!strncmp(name, "ndcg", 3)) return new EvalNDCG(name);
utils::Error("unknown evaluation metric type: %s", name); utils::Error("unknown evaluation metric type: %s", name);