[TREE] Refactor to new logging

This commit is contained in:
tqchen
2016-01-01 02:21:23 -08:00
parent 05115adbff
commit 844e8a153d
3 changed files with 181 additions and 226 deletions

View File

@@ -111,4 +111,4 @@ struct ParallelGroupBuilder {
};
} // namespace common
} // namespace xgboost
#endif // XGBOOST_UTILS_GROUP_DATA_H_
#endif // XGBOOST_COMMON_GROUP_DATA_H_

View File

@@ -5,6 +5,7 @@
*/
#include <xgboost/objective.h>
#include <xgboost/metric.h>
#include <xgboost/tree_model.h>
namespace dmlc {
DMLC_REGISTRY_ENABLE(::xgboost::ObjFunctionReg);
@@ -40,5 +41,9 @@ Metric* Metric::Create(const char* name) {
return (e->body)(buf.substr(pos + 1, buf.length()).c_str());
}
}
void test() {
RegTree tree;
}
} // namespace xgboost