Merge pull request #35 from tqchen/unity

ok
This commit is contained in:
Tianqi Chen 2014-08-23 18:59:52 -07:00
commit cd16a3b124
2 changed files with 1 additions and 1 deletions

View File

@ -19,3 +19,4 @@ xgboost-unity
* Experimental version of LambdaRank
* Linear booster is now parallelized, using parallel coordinated descent.
* Add [Code Guide](src/README.md) for customizing objective function and evaluation
* Add R module

View File

@ -43,7 +43,6 @@ inline IEvaluator* CreateEvaluator(const char *name) {
if (!strncmp(name, "ams@", 4)) return new EvalAMS(name);
if (!strncmp(name, "pre@", 4)) return new EvalPrecision(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, "ndcg", 3)) return new EvalNDCG(name);
utils::Error("unknown evaluation metric type: %s", name);