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,5 +1,6 @@
Coding Guide
======
This file is intended to be notes about code structure in xgboost
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, "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);