add add and remove
This commit is contained in:
@@ -16,10 +16,14 @@ python mknfold.py agaricus.txt 1
|
||||
# interaction
|
||||
../../xgboost mushroom.conf task=interact model_in=m1.model model_out=m2.model interact:booster_index=0 bst:interact:expand=1
|
||||
../../xgboost mushroom.conf task=interact model_in=m2.model model_out=m3.model interact:booster_index=0 bst:interact:expand=2
|
||||
../../xgboost mushroom.conf task=interact model_in=m3.model model_out=m3v.model interact:booster_index=0 bst:interact:remove=2
|
||||
../../xgboost mushroom.conf task=interact model_in=m3v.model model_out=m3p.model interact:booster_index=0 bst:interact:expand=2
|
||||
|
||||
# this is what dump will looklike with feature map
|
||||
../../xgboost mushroom.conf task=dump model_in=m2.model fmap=featmap.txt name_dump=dump.m2.txt
|
||||
../../xgboost mushroom.conf task=dump model_in=m3.model fmap=featmap.txt name_dump=dump.m3.txt
|
||||
../../xgboost mushroom.conf task=dump model_in=m3v.model fmap=featmap.txt name_dump=dump.m3v.txt
|
||||
../../xgboost mushroom.conf task=dump model_in=m3p.model fmap=featmap.txt name_dump=dump.m3p.txt
|
||||
|
||||
echo "========m1======="
|
||||
cat dump.m1.txt
|
||||
@@ -30,5 +34,11 @@ cat dump.m2.txt
|
||||
echo "========m3========"
|
||||
cat dump.m3.txt
|
||||
|
||||
echo "========m3v========"
|
||||
cat dump.m3v.txt
|
||||
|
||||
echo "========m3p========"
|
||||
cat dump.m3p.txt
|
||||
|
||||
echo "========full======="
|
||||
cat dump.full.txt
|
||||
|
||||
Reference in New Issue
Block a user