Merge branch 'master' of https://github.com/tqchen/xgboost
This commit is contained in:
@@ -9,3 +9,5 @@ Format of featmap.txt:
|
||||
|
||||
q means continuous quantities, i means indicator features.
|
||||
Feature id must be from 0 to num_features, in sorted order.
|
||||
|
||||
Detailed explaination: https://github.com/tqchen/xgboost/wiki/Binary-Classification
|
||||
|
||||
@@ -6,9 +6,10 @@ python mknfold.py agaricus.txt 1
|
||||
# training and output the models
|
||||
../../xgboost mushroom.conf
|
||||
# output prediction task=pred
|
||||
../../xgboost mushroom.conf task=pred model_in=0003.model
|
||||
# print the boosters of 00003.model in dump.raw.txt
|
||||
../../xgboost mushroom.conf task=dump model_in=0003.model name_dump=dump.raw.txt
|
||||
../../xgboost mushroom.conf task=pred model_in=0002.model
|
||||
# print the boosters of 00002.model in dump.raw.txt
|
||||
../../xgboost mushroom.conf task=dump model_in=0002.model name_dump=dump.raw.txt
|
||||
# use the feature map in printing for better visualization
|
||||
../../xgboost mushroom.conf task=dump model_in=0003.model fmap=featmap.txt name_dump=dump.nice.txt
|
||||
../../xgboost mushroom.conf task=dump model_in=0002.model fmap=featmap.txt name_dump=dump.nice.txt
|
||||
cat dump.nice.txt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user