moved data processing to wgetdata.sh (#3666)

This commit is contained in:
Shiki-H 2018-09-04 12:36:48 -04:00 committed by Philip Hyunsu Cho
parent 9254c58e4d
commit 8f4acba34b
2 changed files with 7 additions and 7 deletions

View File

@ -1,11 +1,5 @@
python trans_data.py train.txt mq2008.train mq2008.train.group #!/bin/bash
python trans_data.py test.txt mq2008.test mq2008.test.group
python trans_data.py vali.txt mq2008.vali mq2008.vali.group
../../xgboost mq2008.conf ../../xgboost mq2008.conf
../../xgboost mq2008.conf task=pred model_in=0004.model ../../xgboost mq2008.conf task=pred model_in=0004.model

View File

@ -2,3 +2,9 @@
wget https://s3-us-west-2.amazonaws.com/xgboost-examples/MQ2008.rar wget https://s3-us-west-2.amazonaws.com/xgboost-examples/MQ2008.rar
unrar x MQ2008.rar unrar x MQ2008.rar
mv -f MQ2008/Fold1/*.txt . mv -f MQ2008/Fold1/*.txt .
python trans_data.py train.txt mq2008.train mq2008.train.group
python trans_data.py test.txt mq2008.test mq2008.test.group
python trans_data.py vali.txt mq2008.vali mq2008.vali.group