xgboost/demo/rank/runexp.sh
yepyao e872f488a5 Merge branch 'dev' of https://github.com/tqchen/xgboost into dev
Conflicts:
	demo/rank/mq2008.conf
	demo/rank/runexp.sh
	regrank/xgboost_regrank_obj.h
2014-05-17 10:40:12 +08:00

18 lines
574 B
Bash
Executable File

#Download the dataset from web site
#wget http://research.microsoft.com/en-us/um/beijing/projects/letor/LETOR4.0/Data/MQ2008.rar
#please first install the unrar package
unrar x MQ2008
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
../../xgboost mq2008.conf
../../xgboost mq2008.conf task=pred model_in=0004.model
../../xgboost mq2008.conf task=dump model_in=0004.model name_dump=dump.raw.txt