diff --git a/demo/rank/mq2008.conf b/demo/rank/mq2008.conf index 08b9d9679..1ec289ba1 100644 --- a/demo/rank/mq2008.conf +++ b/demo/rank/mq2008.conf @@ -3,9 +3,6 @@ booster_type = 0 objective="rank:pairwise" -#objective="rank:softmax" -#objective="lambdarank:map" -#objective="lambdarank:ndcg" # Tree Booster Parameters # step size shrinkage @@ -16,8 +13,7 @@ bst:gamma = 1.0 bst:min_child_weight = 0.1 # maximum depth of a tree bst:max_depth = 6 -eval_metric = "ndcg" -eval_metric = "map" + # Task parameters # the number of round to do boosting num_round = 4 diff --git a/demo/rank/runexp.sh b/demo/rank/runexp.sh index cb15f1dd0..201c287e9 100644 --- a/demo/rank/runexp.sh +++ b/demo/rank/runexp.sh @@ -8,4 +8,3 @@ python trans_data.py vali.txt mq2008.vali mq2008.vali.group ../../xgboost mq2008.conf task=pred model_in=0002.model -../../xgboost mq2008.conf task=dump model_in=0002.model name_dump=dump.raw.txt \ No newline at end of file