add dump nice to regression demo

This commit is contained in:
tqchen
2014-03-26 16:47:01 -07:00
parent 7d97d6b1d4
commit dc239376c7
4 changed files with 36 additions and 11 deletions

View File

@@ -7,5 +7,10 @@ python mknfold.py machine.txt 1
../../xgboost machine.conf
# output predictions of test data
../../xgboost machine.conf task=pred model_in=0002.model
# print the boosters of 00002.model in dump.raw.txt
../../xgboost machine.conf task=dump model_in=0002.model name_dump=dump.raw.txt
# print the boosters of 0002.model in dump.raw.txt
../../xgboost machine.conf task=dump model_in=0002.model name_dump=dump.raw.txt
# print the boosters of 0002.model in dump.nice.txt with feature map
../../xgboost machine.conf task=dump model_in=0002.model fmap=featmap.txt name_dump=dump.nice.txt
# cat the result
cat dump.nice.txt