Merge branch 'dev' of ssh://github.com/tqchen/xgboost into dev

This commit is contained in:
tqchen
2014-05-16 20:37:55 -07:00
4 changed files with 166 additions and 11 deletions

View File

@@ -2,7 +2,7 @@
# choose the tree booster, 0: tree, 1: linear
booster_type = 0
# so far, we have pairwise rank
# specify objective
objective="rank:pairwise"
# Tree Booster Parameters

View File

@@ -1,14 +1,8 @@
#Download the dataset from web site
wget http://research.microsoft.com/en-us/um/beijing/projects/letor/LETOR4.0/Data/MQ2008.rar
python trans_data.py train.txt mq2008.train mq2008.train.group
#please first install the unrar package
unrar x MQ2008
python trans_data.py test.txt mq2008.test mq2008.test.group
python trans_data.py MQ2008/Fold1/train.txt mq2008.train mq2008.train.group
python trans_data.py MQ2008/Fold1/test.txt mq2008.test mq2008.test.group
python trans_data.py MQ2008/Fold1/vali.txt mq2008.vali mq2008.vali.group
python trans_data.py vali.txt mq2008.vali mq2008.vali.group
../../xgboost mq2008.conf