bug fix in pairwise rank
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# choose the tree booster, 0: tree, 1: linear
|
||||
booster_type = 0
|
||||
|
||||
#objective="rank:pairwise"
|
||||
objective="rank:pairwise"
|
||||
#objective="rank:softmax"
|
||||
#objective="lambdarank:map"
|
||||
#objective="lambdarank:ndcg"
|
||||
@@ -15,8 +15,9 @@ bst:gamma = 1.0
|
||||
# minimum sum of instance weight(hessian) needed in a child
|
||||
bst:min_child_weight = 1
|
||||
# maximum depth of a tree
|
||||
bst:max_depth = 3
|
||||
eval_metric='ndcg'
|
||||
bst:max_depth = 6
|
||||
eval_metric = "ndcg"
|
||||
eval_metric = "map"
|
||||
# Task parameters
|
||||
# the number of round to do boosting
|
||||
num_round = 4
|
||||
|
||||
Reference in New Issue
Block a user