Download data set from web site

This commit is contained in:
yepyao 2014-05-16 21:18:32 +08:00
parent 07e98254f5
commit e3a0c0efe5
2 changed files with 10 additions and 4 deletions

View File

@ -1,11 +1,17 @@
python trans_data.py train.txt mq2008.train mq2008.train.group
#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 test.txt mq2008.test mq2008.test.group
#please first install the unrar package
unrar x MQ2008
python trans_data.py vali.txt mq2008.vali mq2008.vali.group
python MQ2008/Fold1/trans_data.py train.txt mq2008.train mq2008.train.group
python MQ2008/Fold1/trans_data.py test.txt mq2008.test mq2008.test.group
python MQ2008/Fold1/trans_data.py vali.txt mq2008.vali mq2008.vali.group
../../xgboost mq2008.conf
../../xgboost mq2008.conf task=pred model_in=0002.model
../../xgboost mq2008.conf task=dump model_in=0002.model name_dump=dump.raw.txt
../../xgboost mq2008.conf task=dump model_in=0002.model name_dump=dump.raw.txt

View File