parent
95b7dbb1ea
commit
e65564ba59
@ -312,7 +312,7 @@ class LambdaRankObjMAP : public LambdaRankObj {
|
|||||||
// register the objective functions
|
// register the objective functions
|
||||||
DMLC_REGISTER_PARAMETER(LambdaRankParam);
|
DMLC_REGISTER_PARAMETER(LambdaRankParam);
|
||||||
|
|
||||||
XGBOOST_REGISTER_OBJECTIVE(PairwieRankObj, "rank:pairwise")
|
XGBOOST_REGISTER_OBJECTIVE(PairwiseRankObj, "rank:pairwise")
|
||||||
.describe("Pairwise rank objective.")
|
.describe("Pairwise rank objective.")
|
||||||
.set_body([]() { return new PairwiseRankObj(); });
|
.set_body([]() { return new PairwiseRankObj(); });
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user